Last active
July 20, 2023 18:17
-
-
Save DxDiagDx/7d3b87e60bedb9ac74c62e71b0683131 to your computer and use it in GitHub Desktop.
Python узнать свой IP-адрес
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
response = requests.get('http://jsonip.com') | |
ip = response.json()['ip'] | |
print('Your public IP is:', ip) |
Proxies may not be used. This is from a previous project.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sorry, what is "proxies"?