Your byte size news and commentary from Silicon Valley the land of startup vanities, coding, learn-to-code and unicorn billionaire stories.
start = time.time()
print 'It took', time.time()-start, 'seconds.'
Source:StackOverflow - https://stackoverflow.com/questions/6786990/find-out-time-it-took-for-a-python-script-to-complete-execution
Upgrade your skills with Codecademy's Pro Intensive, Machine Learning Fundamentals. Each unit will cover conceptual and syntax lessons ...