python程序运行时间

>>> import time

>>>start=time.clock()

#run code

>>>end=time.clock()

>>>end-start