The practical automation library

Less busywork.
More possibilities.

Make everyday tasks a little easier. Explore 500 useful scripts, understand how they work, and make them your own.

✓ Full source code · Practical guides · Free downloads
small scripts, useful things ↙
file_inventory.py · Python
1# Make sense of a busy folder. 2from pathlib import Path 3from collections import Counter 4 5files = Path("sample-folder").iterdir() 6counts = Counter( 7 p.suffix.lower() or "[no extension]" 8 for p in files if p.is_file() 9) 10for extension, count in counts.items(): 11 print(extension, count)
✓
Your folder, understood.A simple example · reads files without changing them
500ready-to-explore
automations
20practical
categories
3scripting
languages
100%source included
with every script

What would you like to simplify?

Start with the task. We’ll help with the script.

Explore all 20 categories ↗

A useful place to start

A few approachable examples from across the library.

Browse the library ↗
Build a skill while you solve a problem

You don’t have to understand it all to get started.

Learn to read a script, run it on sample files, change one thing, and build the confidence to make the next tool yourself.

Choose a learning path ↗