Python equivalent of the "INET6_ATON" SQL function
P粉030479054
P粉030479054 2023-09-06 14:36:14
0
1
467

I want to convert a PHP program using MySQL to Python. I found a way to store the database, but I need to find Pythonic replacements for the INET6_ATON SQL functions. Can anyone help me?

P粉030479054
P粉030479054

reply all(1)
P粉595605759

[From Alvin Roth]

Thanks it does the exact same thing!

Documentation for ipaddress.IPv4Address.packed: https://docs.python.org/3/library/ ipaddress.html#ipaddress.IPv4Address.packed

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template