PyScreenshot is a Python application built using Tkinter and PIL (Pillow) that allows users to capture, save, and manage screenshots. The application provides a user-friendly interface for saving screenshots from the clipboard to a specified directory and viewing them in a scrollable list.
- Capture screenshots directly from the clipboard.
- Save screenshots to a specified path and a default folder.
- Maintain a list of recently used directories.
- Editable image labels for better organization.
- Scrollable image list for easy navigation and viewing.
- Image viewer for opening images in a new window.
- Python 3.x
- Pillow
- Tkinter
-
Clone the repository:
git clone https://github.com/yourusername/PyScreenshot.git cd PyScreenshot -
Install the required Python packages:
pip install Pillow
-
Set in
.configfile your default screenshots folder -
Run the application:
python main.py -
Choose a directory to save or type a new one.
-
Type the screenshot name.
-
The saved screenshots will appear in a scrollable list. You can change their names by clicking on corresponding textbox under screenshot and zoom them in by clicking on screenshot miniature.

If you won't specify the screenshot name will be saved with name:
MM_DD_YYYhhmmss.jpg in chosed folder and shortened__path___MM_DD_YYYhhmmss.jpg in default folder.
If you won't specify the directory to save, screenshot will be saved only in default folder with name name___MM_DD_YYYhhmmss.jpg
Normally screenshot will be saved in default folder with name:
shortened__path___name___MM_DD_YYYhhmmss.jpg
and in selected folder with name:
name___MM_DD_YYYhhmmss.jpg
main.py: The main script containing the application logic..config: A JSON configuration file storing the default folder path and recent directories.
The .config file is a JSON file that stores the default folder path and recent directories.
-
Example:
{ "default_folder": "C:/Screenshots", "latest_directories": ["C:/Projects", "C:/Images"] }
This project is licensed under the MIT License.
