Before running the application, make sure you have the following installed:
- Python 3 (version 3.6 or above)
- tkinter library
- PIL module (you can install it using pip install Pillow)
To run the application, follow these steps:
-
Clone or download the repository to your local machine.
-
Open a terminal or command prompt and navigate to the project directory.
-
Run the following command:
python main.py
The photo viewer application will launch.
To build the photo viewer app into an executable file, follow these steps:
-
Make sure you have PyInstaller installed by running pip install pyinstaller in your terminal.
-
Navigate to the project directory where the cloned photo viewer app is located.
-
Run the command
pyinstaller --onefile main.py
in the terminal to create a standalone executable.
-
After the process completes, you'll find a dist directory in your project folder.
-
Inside the dist directory, you'll find the generated executable file named photo_viewer.exe (for Windows) or photo_viewer (for Linux).
-
Optionally, ensure the executable file has executable permissions on Linux by running
chmod +x <executable file name>
in the terminal.
This project is licensed under the The GNU General Public License (GPL) License.