Skip to content


Folders and files

Last commit message
Last commit date

Latest commit



34 Commits

Repository files navigation

Automate boring stuff with Python programs with a GUI

Run on About online demonstrations

This project is inspired by, a book by Al Sweigart, more precisely from its chapter 13, but with the addition of a graphical user interface with the help of the Python version of the Atlas toolkit.

The first example (in the Excel-1 folder) displays an Excel spreadsheet of data from the 2010 US Census in a more conveniently way. By selecting a state in the left top frame, you have access to a summary of its counties in the right top frame, and by selecting one of these counties, you have access to the tracts in the bottom frame as they are stored in the Excel spreadsheet.

The second example (in the Excel-3folder) is very loosely based on the example of the book. It simulates a handwritten Excel spreadsheet containing produce sales, where error were made on the produce name. The spreadsheet does not contain such errors, which are added by the scramble() function once the spreadsheet is loaded. The displayed table is split in two part, based on how often the produce name does appear in the spreadsheet, the first containing the produce names with an error, the second the right produce names. You select one or more instance of the same product in the first part, by checking the corresponding checkbox, and the right produce name by checking the corresponding radio button. By clicking the Coll./Exp. button you switch between displaying only the selected produces, or all the produces. The Apply button corrects the selected produce names, and the Jump button allows to jump to the part of the table containing the right produce name.

To be complete, both examples lack of the save button, but you can easily implement it, as an exercise, by following the indications in the book.

To launch a demonstration, first install the needed modules with pip install --user -r requirements.txt and then simply launch python Excel-1/ or python Excel-3/ from the root folder of the repository.

For the online demonstration, once on, click on the green run button, choose the demonstration you want to launch, and click the then displayed URL (or copy/paste it in a web browser).


No description, website, or topics provided.







No releases published

Sponsor this project



No packages published