mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-12-18 16:20:17 +00:00
5 lines
129 B
Python
5 lines
129 B
Python
from requests import get
|
|
|
|
ip = get('https://ipv4.icanhazip.com').text
|
|
|
|
print('>>> My public IP address is: ' + ip[0:-1] + ' <<<') |