automation

Automating repetitive tasks with scripts, from file handling to scheduled jobs.

Python: GUI Programming with Tkinter (Windows, Widgets, Events)

Every Python script you have written so far probably lives in a terminal, printing lines of text and waiting for typed input. Python Tkinter changes that: it puts a real window on the screen, one with buttons and text fields you click with your mouse. There is nothing to install, since it ships with Python itself. In this tutorial you build one from scratch, right up to a working calculator. “The best interface is no interface. The second best is ... Read More

Python: CLI Tools with argparse and click

You wrote a handy little script. Then a teammate asks, “can I point it at a different folder?” So you add a hardcoded path at the top. Then they want a “quiet” mode, so you add a global flag. Six edits later you are reading sys.argv by hand, splitting strings, and writing your own help text. This is exactly the mess that Python argparse and click clean up for you. “A good CLI is like a good conversation: clear, forgiving, ... Read More

Python: Automating Boring Tasks (Files, PDFs, Excel, Emails)

Python automation lets you hand the boring work to your computer: organize files with shutil and pathlib, merge and split PDFs with pypdf, read and write Excel spreadsheets with openpyxl, send emails from a script, and schedule recurring jobs. This guide gives you a copy-and-run recipe for each one. “I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.” Bill Gates Last Updated: July 2026 | Tested on: ... Read More