Skip to content

Get Started in 2 Easy Steps 🚀#

Ready to try? Let's get started:

1. Install Timer for Python Package#

Assuming that Python is already installed, execute this command in the terminal to install the Timer package:

pip install timer-for-python

Find more details and options in the installation guide.

2. First Script#

You're now ready to go:

Python
1
2
3
4
5
6
7
8
from timer import Timer

timer = Timer()
timer.start()

# Insert your code here

timer.stop()

After timer.stop(), the elapsed time will be printed in your terminal. Example:

Elapsed time: 12.34 seconds

Next Steps#

Find more usage examples and tutorials in the user guide section.