The PySide2 and Qt Designer workflow: design the window, compile it with pyside2-uic, and run the app on Windows 11, Ubuntu Linux 24.04 and macOS on Intel Macs (Python console version).
Package a PySide2 Qt GUI application into a single-file executable with PyInstaller on Windows 11, Ubuntu Linux 24.04 and macOS on Intel Macs (Python console version).
A live web webcam viewer with a C++ capture engine and an aiohttp server, falling back to Python OpenCV capture on Linux and macOS (Python command-line version).
Play overlapping sound effects from the command line with pygame: rain, birds and a frog croak mixed together on separate channels (Python console version).
Play music from the command line with pygame.mixer.music: a piano melody from single notes, plus pause, looping, volume and track switching (Python console version).
Check from the command line whether PyTorch can see the CUDA GPUs: torch version, CUDA availability, device count, and device names (Python console version).
Learn Python while loops on the command line: counting, nested loops for a multiplication table, and a binary-search guessing game (Python console version).
Learn Python variables and object identity on the command line: id(), small-int interning, dictionary aliasing, and type conversion (Python console version).
Learn Python threading on the command line: start several threads, let them run concurrently, and join them from the main thread (Python console version).
Learn Python string quoting on the command line: single quotes, escapes, double quotes, line continuation, and triple-quoted strings (Python console version).