Last active
September 9, 2016 18:31
-
-
Save darkcrawler01/f03077e707d8891b3744ec3f67cdd972 to your computer and use it in GitHub Desktop.
AdX ip address converter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run in python shell | |
ip = '70.114.164.59' | |
ip = ip.split('.') | |
str(bytes(bytearray([int(ip[0]), int(ip[1]), int(ip[2])]))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment