Yesterday I wrote about how to use a very simple timing context manager to measure how much time your python code/functions take. There might be times when you want to restrict how long your code executes. Python’s
resource module in the standard library gives you an easy way to do that and more.
If you are developing a product and working with a team of engineers writing code, you would have definitely faced the horror of reading someone else’s code. Many times it is your own code written a few months back. My failed challenge When I started out as a junior developer in my first company, I … Read more ➟