This will need the free API token of your https://ipinfo.io/ account. Enter the API token into the script with an editor of your choice into the self.ipinfo_token = '' on line 11. This will output as a txt file with all the basic information in it, the file will appear in the same folder where the script was ran. This is designed to be very basic and dumb, which it is, so directory selection and filetype probably arent in the future in terms of functionality.