Yes I know in ipython you can do that. But I wrote this module so that I can import it into my modules/projects and log the time taken for a particular function.
I'm a Sr. Software Engineer at Flashpoint. I specialize in Python and Go, building functional, practical, and maintainable web systems leveraging Kubernetes and the cloud. Blog opinions are my own.
Yes I know in ipython you can do that. But I wrote this module so that I can import it into my modules/projects and log the time taken for a particular function.
Gotcha. Yeah, your way works great for logging purposes.