Get public IP address with options
usage: myip.py [-h] [-i] [-c] [-s] [--raw]
get public IP information
optional arguments: -h, --help show this help message and exit -i, --ip print only IP -c, --country print only country -s, --country-code print only country code --raw print raw output
- Install python3
- Install python3-pip
- Run 'pip3 install pyinstaller' (if 'pip3' was not found, try 'pip' instead)
- Go into the script directory
- Run 'pyinstaller -F myip.py'
- The executable for your OS will be saved in the 'dist' folder ;)