[Pythonmac-SIG] The time module

Rafael Bejarano bejarar at gmail.com
Mon Feb 21 20:38:01 CET 2011


Hello,

I can't get the clock() function in the time module to work. I would  
appreciate any helpful suggestions.

Below is a copy of the Terminal session, for your perusal.

Thanks.
Rafael Bejarano

Last login: Mon Feb 21 13:02:48 on ttyp1
Welcome to Darwin!
173-216-77-254-arka:~ Rafael$ python
Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
 >>> import time
 >>> clock()
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
NameError: name 'clock' is not defined
 >>>













More information about the Pythonmac-SIG mailing list