Gabriel Genellina <gagsl-...@yahoo.com.ar> wrote:

>Try the strptime method with a suitable format, like this (untested):
>delta = now2-now1
>delta.strftime('%H:%M:%S.%f')

Throws an exception:

|Traceback (most recent call last):
|  File "<stdin>", line 1, in <module>
|AttributeError: 'datetime.timedelta' object has no attribute 'strftime'

What seems logical, since the documentation doesn't mention an strftime 
method for timedelta.



Regards,

Günther
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to