Before you begin, ensure you have met the following requirements:
- Python 3.x installed on your system.
- The
requests
library installed. If you haven't installed it yet, you can do so by running
pip3 install requests
-
Clone the repository or download the source code to your local machine.
git clone https://github.com/your-username/IPCountryFinder.git
-
Navigate to the directory containing the application.
cd IP-Country-Finder
-
Make sure you add the list of IPs you need to check in
ips.txt
file.
-
Run the script.
python3 app.py
To save the output of IP-Country-Finder to a file, you can use the redirection operator >
in your command line. For example, to save the output to a file named output.txt
, you can run:
python3 app.py > output.txt
This command will execute the application and save the results in output.txt
, located in the same directory as your command prompt or terminal window.