SyntaxFix
Write A Post
Hire A Developer
Questions
Others have answered re: time.time() vs. time.clock().
time.time()
time.clock()
However, if you're timing the execution of a block of code for benchmarking/profiling purposes, you should take a look at the timeit module.
timeit