Python · Archive

2025

  1. The emoji that broke my file uploads Detect Unicode characters outside the Basic Multilingual Plane (e.g. emoji) with one line of Python.
  2. Python Script Output Redirection Integrate Python scripts into the Unix philosophy
  3. Solving a Tricky Email Invoicing Bug How I traversed library code, programming language implementations, and operating system updates to solve a critical email invoicing issue.

2024

  1. Finding Python performance problems When a Python program is running too slowly, use a profiler to measure which parts of the code are hurting performance the most. Measure Code Performance with cProfile Start by writing a decorator which will add profiling metrics to the decorated function:

Years