YM IP

from requests import get

ip = get('http://ipgrab.io').text
print('My Public IP address is: {}'.format(ip))
Gentle Gerbil