mathspp blog

394 427,479 36,002
articles words lines of code

This practical tutorial shows how to use uv to build and install custom Python CLI applications globally on your system.

Today I learned how to create standalone Python scripts with uv.

I used an LLM to write a countdown timer and I have mixed feelings about the result.

Today I learned that if you suppress the exception KeyboardInterrupt then your program is still interrupted but it doesn't display a traceback.

This article outlines how I use a pre-commit hook and cog to keep my blog stats updated automatically.

This article shows how I made a secret Santa draw with Python.

Today I learned how to optimise my website images for the web and I automated that process.

Learn how I used Python in my daily life to convert 5,000 RAW images into the JPEG format.

If there's one thing I like about Python is how I can use it to automate boring tasks for me. Today I used it to help me manage my own blog!