Posts

Showing posts from August, 2026

Build a Python Slideshow App with PyQt6 and Package It as a Windows .exe

In this post, we build a small desktop slideshow application with Python and PyQt6. The app lets you pick any folder through a built-in file explorer, then plays its contents as a slideshow — each image is displayed for 5 seconds, each video plays once, and a mouse click or touch tap skips to the next item. The walkthrough covers the full real-world workflow on Windows: create an isolated virtual environment, install PyQt6, run the app from source, and finally package everything into a single standalone .exe with PyInstaller — so the finished slideshow can run on any Windows PC, even one without Python installed. To create a Python virtual environment , enter in Command Prompt: python -m venv .venv Creates an isolated Python environment in a .venv folder, keeping this project's dependencies separate from the system-wide Python. (.venv is just a naming convention — any folder name works.) To activate it, enter: .venv\Scripts\activate.bat or .venv\Scripts\...