mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-30 15:31:10 +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] + ' <<<') |