Last active
October 31, 2017 16:01
-
-
Save yangwu91/a0c391801e35b1420caa353dd275ee3b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
start_time = datetime.datetime.now() | |
end_time = datetime.datetime.now() | |
cost_time = (end_time - start_time).seconds | |
print "Done in %ss." % cost_time |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment