localtime import not working

Udo Melis melis at uni-muenster.de
Thu Sep 16 00:19:25 CEST 2004


udo:/usr/lib/cgi-bin# python
Python 2.3.4 (#2, Jul 28 2004, 09:39:34)
[GCC 3.3.4 (Debian 1:3.3.4-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from time import localtime
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/usr/lib/cgi-bin/time.py", line 3, in ?
NameError: name 'localtime' is not defined
>>>


What can i do?



More information about the Python-list mailing list