This page is a distribution center for free and open-source software written in the
programming language. Its downloads span:
Complete
you can run on macOS, Windows, Linux, and Android
Narrower programs in the
and
departments for coders and users
Smaller
intended mostly for Python learners
All code here is meant to be both useful and educational and is entirely free and advertising free. You are invited to help make it better with your
. For updates and tips for code here, see the programs support
. For book example code, see your book's support
.
Related: hosted elsewhere but also by the makers of the software on this page...
This section collects full programs that you can download and run on your macOS, Windows, and Linux PCs, as well as your Android smartphones and tablets. All are available as a self-contained macOS app, Windows exe, and Linux executable (which you simply install and run); plus a full and portable source-code package (which you run with your own Python
or Android
). For download locations and more details, click each program's icon or name to go to its main page.
— Edit Text. Run Code. Have Fun.
A Python/Tk text-editor and code-launcher GUI, that can be used as both standalone program and library component. PyEdit can serve as your go-to text editor, as well as a lightweight IDE that runs Python code and other content. For a quick preview, check out PyEdit's
and
.
— Personal Calendar GUI; No Login Required
A Python/Tk calendar GUI, which stores your calendar entries in portable ICS files that work across platforms and programs. With Frigcal, your calendar data is your business, not something to be scanned and monetized by nosy companies. For a quick preview, tour Frigcal's
and
.
— Backup and Sync Your Stuff Your Way
A Python/Tk GUI+script program that backs up and syncs content folders quickly and can serve as a manual but private alternative to cloud storage. With Mergeall, your stuff is your property, not someone else's point of control. For a quick preview, browse Mergeall's
and
.
— Email Without the Evil
A Python/Tk email client GUI, which allows you to both send and receive email using your email accounts, and save and view it in offline files. With PyMailGUI, your email session is private, void of advertising, and off-limits to snoops. For a quick preview, explore PyMaiGUI's
and
.
— GUI Toys, Just for the Hack of It
A set of four Python/Tk desktop GUIs originally from the book
—the PyCalc calculator, PyClock analog/digital clock, PyPhoto image viewer, and PyToe AI-based game—all upgraded, ported to macOS, and bundled as both executable and source. For a quick preview, see PyGadgets'
.
This section's programs pertain to Internet or web scripting. In the table below, click first-column links to go to main pages, and see Images for screenshots and Tools for coding subjects. All programs here are provided in source-code form and run on macOS, Windows, Linux, and other Python-friendly platforms. Most are run from command lines, though some run in web browsers or servers too, and many may be run in
's Run Code.
Among notables here: thumbspage creates web-page galleries for image folders; sitesearch adds search to websites; pylotto runs a web-based lottery; showcode formats text files for display; and genhtml generates a site's web pages from templates, inserting common parts automatically with HTML macros. Many of the programs here are used to build the site you are viewing.
Program Description Images Tools
Turn folders into HTML image galleries
PIL/Pillow, piexif, Unicode
Add search to websites via CGI redirects
Web scripting, URLs
Generate website files with static HTML inserts
Files, text, Unicode
Display text files nicely in HTML pages by CGI
Web scripting, Unicode
Shrink images for faster (and politer) websites
PIL/Pillow, piexif, re
Fetch IMAP email folders from your server
Files, imaplib, email
Give away Python books with an online lottery
email, websites, random
Add analytics code to anonymize IP addresses
Bytes files, Unicode
Make/upload photos page+zipfile
zipfile, FTP, text
Find unused files in a local website copy
HTML and URL parsing
Android Opera work-around: find /* in <pre>
HTML parsing, folder trees
Guess stock-market mood from web-page text
re, urllib, page scraping
Insert or remove code in a folder's HTML files
Files, Unicode, bytes
This section's programs span application domains. In the table below, click first-column links to go to main pages, and see Images for screenshots and Tools for coding subjects. All programs here are provided in source-code form and run on macOS, Windows, Linux, and more. Most are run from command lines—in Terminal on macOS and Linux, Command Prompt on Windows, Termux on Android,
's Run Code, or other.
Among highlights here: deltas (a.k.a. Android Deltas Sync) syncs content from PCs to Android 11+ devices and others; iconify builds ".icns" and ".ico" files on both macOS and Windows; tagpix helps you organize your photo collections; and ziptools provides scripts and functions that zip and unzip archives anywhere, and fill in crucial support missing from Python's own zip module—symlinks, UTC times, cruft-file skips, and more.
Program Description Images Tools
The bits that Python's zipfile module forgot
os, zipfile, glob, struct
Sync content to Android 11+ devices by USB
ziptools, Mergeall, subprocess
Combine your photos for viewing and saving
PIL/Pillow, re, text, files
Make Windows and Mac icon files anywhere
struct, PIL/Pillow, bytes
Report the size taken by each folder and file
os, files, recursion
Change a text file's Unicode encoding
Files, os, Unicode
Swap Windows⇔Unix text endlines on either
Files, Unicode, 3.X+2.X
Map color ~ RGB string, RGB string ~ color
tkinter GUIs, 3.X+2.X
Merge your iTunes or other music folders
Folders, files, text
Test function input/output types (decorator)
Decorators, types, bytes
This section's programs are smaller examples included primarily for Python learners. In the table below, click first-column links to go to main pages, and see Images for screenshots and Tools for coding subjects. Most examples here are supplements to material in my Python
and span application domains.
All examples here are provided in source-code form and run on macOS, Windows, Linux, and more, and all can be run from command lines, IDLE,
's Run Code, or other Python launching schemes.
Example Description Images Tools
Classmethods versus staticmethods
OOP class techniques
Point absolute symlinks to a new root
os module, files
Basic yield-based coroutines switcher
Functions, generators
The evolution of Python generators
Functions, generators
Modtimes vs checksums for syncs
hashlib, os.stat, bytes
Nested loops via map+lambda and more
Loops, map, lambda
US health insurance premium tax credit
Basic math tools
More on code timing (now LP5E)
time module
More loops/comprehensions (now LP5E)
Iteration tools Post-release application updates: off-page Users of any of the five complete applications
should watch
for announcements of updated releases, as well as new pointers and issues that arose after the apps' were published in 2017. That page's tips are updated regularly with new info. Book Examples: see book pages If you're looking for book example distributions, see the separate
for your book and edition at this site. You can also find book example screenshots on the Programming Python
; some reflect early versions of major apps
. Windows unzips caution Though rare (and perhaps even moot today), Windows File Explorer's built-in zip support has been known to silently fail to extract some files in zip archives of the sort used to package many of the programs on this page. See
for details and alternatives, including the Python-coded
package above. Ignore browser warnings for zipfiles Some web browsers, including older Chromes on some platforms, have been seen to issue warnings when users try to download zipfiles. Although zipfiles can pose a security risk, those available here do not. This site has been spam- and virus-free since 1996. All its code is completely open source, safe to use, and free of advertising—despite the draconian measures being adopted by companies whose own products are
. Ignore platform warnings for first runs Some platforms also issue warnings the first time you run an independent developer's program which hasn't been officially sanctioned by the platform's owner. This includes apps here; see
for more details and fixes. macOS, for example, still allows you to run apps that have not been registered with Apple (nor paid the requisite fee) but is making it increasingly hard—and perhaps even
—to do so. Windows and Android are following
. Alas, closed and proprietary seem the inevitable spawn of greed and
. Grant own-folder access to apps on macOS Sierra+ As an especially grievous extension to the preceding note, on macOS, non-store apps like those downloaded from this site may be denied write access to their own folders, unless you take action to enable it. The denial may produce reduced functionality or outright failures, though a simple app move will generally sidestep the issue. For complete work-arounds coverage—and an extra slice of righteous indignation—see the expanded support-page note
.