DEV Community

Discussion on: Timing your Python Code

Collapse
 
cnu profile image
Srinivasan Rangarajan

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.

Collapse
 
rpalo profile image
Ryan Palo

Gotcha. Yeah, your way works great for logging purposes.