This small but fine Python Snippet requests the public IP adress (supports IPv4 and IPv6) at myip.is and outputs the result.
It might be useful to get your public IP adress on the command line, or even to check whether your internet connection is working.
USAGE :
python ipfetch.py
License
MIT LicenseFollow ipfetch-python
Other Useful Business Software
$300 Free Credits for Your Google Cloud Projects
Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of ipfetch-python!