[Tutor] %T as a strftime format identifier

python at bdurham.com python at bdurham.com
Sun Nov 28 04:05:44 CET 2010


32-bit Python 2.7 for Windows:

>>> import time
>>> time.strftime("%T")

Traceback (most recent call last):
  File "<pyshell#97>", line 1, in <module>
    time.strftime("%T")
ValueError: Invalid format string

Malcolm


More information about the Tutor mailing list