PyGadgets — GUI Toys, Just for the Hack of It


Welcome to the products page for PyGadgets. PyGadgets is a set of four desktop GUIs coded in Python/Tk and run from a quick-access toolbar:

  • ► PyCalc  —  a flexible calculator
  • ► PyClock  —  an analog/digital clock
  • ► PyPhoto  —  a portable image viewer
  • ► PyToe  —  an AI-based tic-tac-toe game

All four gadgets are originally from the book PP4E, but have been greatly enhanced, ported to Mac OS (a.k.a. macOS) and Android, made more easily customizable, and bundled as both portable source code and standalone apps and executables for PC platforms. PyGadgets opens with a simple toolbar that launches the four GUIs on demand. In source and executable packages, each Gadget can also be run individually. In all formats, the '?' key opens in-program help in each of the GUIs. For a quick tour of PyGadgets' utilities, browse its PC screenshots, and its Android how-to.


PyGadgets runs on Mac OS, Windows, Linux, and Android. It's available as a platform-specific Mac app, Windows exe (both 64- and 32-bit), and Linux executable, plus a complete source-code package that runs on all four platforms. Click the download link below to fetch the package you wish to use. The app, exes, and executable may be easier to install and run, but source code can be studied, is required on Android today, and nullifies issues covered by the next section's pointers.

Mac OS (X) app Download
Windows exe, 64 bit Download
Windows exe, 32 bit Download
Linux executable Download
Source-code package Download


For more details on PyGadgets' download packages, as well as their complete install and usage instructions, see the main README.txt. In brief, you'll fetch, unzip, and run either the unzipped app itself (Mac OS), a same-named executable inside the unzip (Windows and Linux), or the program's main script in the unzipped source code (all platforms).

The latest getting-started pointers:

Mac OS users
See the tips and fixes for your platform's first-run warnings. This applies only to the Mac OS app, not source code, and the app does not require app-folder permissions. The readme covers Launchpad on your platform. Mojave users: see also this.
Windows users
See the tips and fixes for your platform's first-run warnings, executable start-up speed, and blurry GUIs on Windows 10. The first two of these apply only to Windows executables, not source code.
Linux users
You can add PyGadgets to your applications launcher by fetching this file and installing it per steps 1..4 in this tip. Per this note, PyGadgets' Linux executable was broken by recent Linux changes; please use the source-code package instead.
Android users
See this doc for details on running PyGadgets on your platform. In short, you'll fetch and patch its source-code package, and launch it in an app's IDE. Android 11 users: see also this.


[Home] Books Programs Blog Python Author Training Search Email ©M.Lutz