Patrick Emonts
Patrick Emonts
Home
Education
Publications
Blog
Contact
Light
Dark
Automatic
Python
Profiling in Python
My code needs to run faster… A feeling that most of us can relate to. But where to start? Profiling is the an important step to figure out where to your program spends time and what to optimize.
Patrick Emonts
Last updated on Jan 1, 2025
5 min read
Argparse -- or how to tell your program what you actually want
If you call a function, you provide inputs. But how do you provide inputs to a whole computer program? The answer is the command line interface. Here, we explore how to write a simple command line interface in Python.
Patrick Emonts
Last updated on Aug 27, 2024
5 min read
Logging -- boring but really useful
Some parts of a program’s code are the unsung heroes. Nobody really talks about the logging infrastructure in a program. But when something goes wrong a proper log file might be all you need.
Patrick Emonts
Last updated on Aug 16, 2024
4 min read
Unit Testing
You want to save time while programming and be a bit less anxious about the correctness of your code? Unit tests are for you!
Patrick Emonts
Last updated on Aug 29, 2023
7 min read
autoreload
Sometimes it is the small things: autoreload is a very handy Jupyter notebook extension. It automatically reloads modules that changed during the development process.
Patrick Emonts
Last updated on Aug 8, 2023
2 min read
Cite
×