Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

calculate time python

>>> import datetime
>>> a = datetime.datetime.now()
>>> # ...wait a while...
>>> b = datetime.datetime.now()
>>> print(b-a)
0:03:43.984000
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #calculate #time #python
ADD COMMENT
Topic
Name
1+8 =