mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-28 06:21:13 +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] + ' <<<') |