Skip to content

ShuksanGeomatics/Python_Code_Timer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Python_Code_Timer

A simple Python class for tracking code execution time.

Copy the class to your script and use: my_timer = gTimer() my_timer.print_start_time() my_timer.print_end_time()

Prints: Started on Fri Sep 25 15:10:05 2020 Finished in 0.0 minutes on Fri Sep 25 15:10:05 2020 ##############################################################

or place python_code_time.py in the same directory as your script. In your script use:

from python_code_timer import gTimer

my_timer = gTimer() my_timer.print_start_time() my_timer.print_end_time()

About

A Python timer class to keep track of code execution.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages