mortuzahossain
9/25/2018 - 5:09 AM

python_time_calculation_for_exicution.py

import time

# Start The Program
t = time.time()
# Done Some Work
print 'Processing'

# Calculate the worktime
t = time.time() - t
# Print The required Exicution time
print 'Time: ',
print t