#结束时间-开始时间>>> import time>>> import time>>> start = time.clock()>>> end = time.clock()>>> print "read: %f s" % (end - start)read: 6.760052 s