Python easy convert ip_ntoa using the ipaddress module

home | blog | Terrible people and places | Covid-19 links | Teh Internet | guest blog |rants | placeholder | political | projects | Gwen and Liam | Citadel patched | Tools | Scouts



# requires Py3.3 or better (or pip install on 2.6 and 2.7)
import ipaddress
addr = str(ipaddress.ip_address(996641751))
print(addr)

59.103.139.215



[æ]