codehaus


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

when uses time.clock,there are always mistakes


Hello !
?The problem like this:
?    		================================ RESTART: Shell ================================
??>>> import time
??>>> t = time.clock()
??Traceback (most recent call last):
?  			File "<pyshell#5>", line 1, in <module>
?  			  t = time.clock()
??AttributeError: module 'time' has no attribute 'clock'
??>>>
??Thanks!
??Best wishes!