Skip to content

Instantly share code, notes, and snippets.

@okdolly-001
Created January 22, 2018 01:25
Show Gist options
  • Select an option

  • Save okdolly-001/3418a81c7bcea9eb2df219db5f9d52b2 to your computer and use it in GitHub Desktop.

Select an option

Save okdolly-001/3418a81c7bcea9eb2df219db5f9d52b2 to your computer and use it in GitHub Desktop.
print the running time
from datetime import datetime
startTime = datetime.now()
#do something
print datetime.now() - startTime
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment