Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- f=open('IP.txt')
- for line in f:
- print('IP: ' + line + ' Country: ' + gi.country_name_by_addr(line))
- f.close()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement