Nuitka is a Python compiler written in Python. It's fully compatible with Python 2.6, 2.7, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, and 3.9. You feed it your Python app, it does a lot of clever things, ... (more…)
Read more »
Six more examples of ways to refactor your Python code, and why they are improvements. (more…)
Read more »
Man, I wish there was a way to split this opened file into smaller subfiles to read any part of it independently! (more…)
Read more »
If you want your program to use less memory, you will need to measure memory usage. You’ll want to measure the current usage, and then you’ll need to ensure it’s using less memory once you make some improvements. It turns out, however, that measuring memo... (more…)
Read more »
This week I was debugging a misbehaving Python program that makes
significant use of Python’s asyncio. The program would
eventually take very long periods of time to respond to network
requests. My first suspicion was a CPU-heavy coroutine hogging the
thr... (more…)
Read more »