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