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