Time object?

Robert Dailey rcdailey at gmail.com
Wed Aug 1 12:18:40 EDT 2007


Hi,

I'm well aware of the datetime module, however it is really inconsistent and
useless to me. In order to do any arithmetic on time objects, I have to use
the 'timedelta' class, which doesn't even allow me to do all the math I want
to do.

For example, I want to do "1 / timeobj", where timeobj might represent a
time in the format of "00:00:00.000000". Do I have to code my own class for
this, or is there some other third party library out there that will allow
me to do this?

Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20070801/32b217ce/attachment.html>


More information about the Python-list mailing list