[15/11/23] Updating README, adding simple run script
This commit is contained in:
parent
1631868a5f
commit
0a5e4eb4ca
3 changed files with 58 additions and 3 deletions
11
run.py
Normal file
11
run.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
import time
|
||||
|
||||
import tictoc
|
||||
|
||||
t = tictoc.init()
|
||||
|
||||
t.tic() # start timing
|
||||
time.sleep(3) # sleep for 3 seconds
|
||||
t.toc() # stop timing
|
||||
|
||||
print(t.results.seconds)
|
Loading…
Add table
Add a link
Reference in a new issue