Meteorologist and software engineer who likes pineapple-less pizza.
This is the reason why you should use UTC for anything time-related.
Python Context Managers Tutorial: Prevent Resource Leaks and Database Connection Errors
The GIL isn't a bottleneck anymore - threading is truly going threaded.
See how to store your secrets both locally and on cloud platforms like AWS, GCP, and Azure.
Leverage the subprocess module, but know there's a difference between subprocess.run() and subprocess.Popen()
Caching your program's output can increase significantly. Using Python's functools.lru_cache decorator makes creating caches easy.
We all forget to format, lint, and make sure print statements are removed.
This feature, used in Python 3.10+, is an alternative to if/elif/else blocks. See how case and match statements are used.
There's a major difference between for and while loops, and this explanation hits the key difference.
Here's why you should be using type hinting for your python code - it's nothing but beneficial!