import time startTime = time.time() #####your python script##### executionTime = (time.time() - startTime) print('Execution time in seconds: ' + str(executionTime))