Formatting Time

Ognjen Bezanov ognjen at mailshack.com
Fri Jun 3 15:11:15 EDT 2005


I never thought id need help with such a thing as time formatting
(admittadly i never did it before) but ok, i guess there is a first for
everything.

I have a float variable representing seconds, and i want to format it
like this:

0:00:00  (h:mm:ss)

Now search as I might i am finding this quite elusive, i had a look at
the time module but that seems overly complicated for this. Anyone got
any simple solutions to doing this? cheers!

=============

Amazing, two days and no replies, cant be that i have stumped the python
community with this...

I have ( a rather bad feeling) that I am having trouble with my email
again. I can recieve mail, but on some mailinglists (hear this one and
the gentoo list) I can get other peoples topics in the list, but never
get mails re. topics I posted (including the original post and any
subsequent replies). All in all rather strange.

Therefore if anyone has responded to my question, please CC me so that I
can receive the info.

thx.





More information about the Python-list mailing list