Re: time conversions [hh:mm:ss.ms <-> sec(.ms)

2006-04-30 Thread Faber
kpp9c wrote: > timedelta looks to be just the ticket! bravo, thank you... i guess this > must be pretty new to Python. Well, since Python 2.3 (July 2003): http://www.python.org/doc/2.3.5/whatsnew/node18.html#SECTION000181 :-) -- Faber http://faberbox.com/ http://smarking.com/

Re: time conversions [hh:mm:ss.ms <-> sec(.ms)

2006-04-29 Thread kpp9c
timedelta looks to be just the ticket! bravo, thank you... i guess this must be pretty new to Python. Nice... more "batteries included" stuff... cheers, -kevin-- -- http://mail.python.org/mailman/listinfo/python-list

Re: time conversions [hh:mm:ss.ms <-> sec(.ms)

2006-04-28 Thread Faber
kpp9c wrote: > I was looking at python & datetime and hoping that it would already > have a method/func to translate time formats. I need to translate seconds > to hh:mm:ss.ms and vice versa and would like the ability to do some basic > arithmetic in these formats. Have a look at datetime.timedel

Re: time conversions [hh:mm:ss.ms <-> sec(.ms)

2006-04-28 Thread Dave Hughes
kpp9c wrote: > Hi, > > I was looking at python & datetime and hoping that it would already > have > a method/func to translate time formats. I need to translate seconds > to hh:mm:ss.ms and vice versa and would like the ability to do some > basic arithmetic in these formats. I think that there ju

Re: time conversions [hh:mm:ss.ms <-> sec(.ms)

2006-04-28 Thread John Machin
On 28/04/2006 6:39 PM, kpp9c wrote: > Hi, > > I was looking at python & datetime and hoping that it would already > have > a method/func to translate time formats. I need to translate seconds to > hh:mm:ss.ms and vice versa and would like the ability to do some basic > arithmetic in these formats.

time conversions [hh:mm:ss.ms <-> sec(.ms)

2006-04-28 Thread kpp9c
Hi, I was looking at python & datetime and hoping that it would already have a method/func to translate time formats. I need to translate seconds to hh:mm:ss.ms and vice versa and would like the ability to do some basic arithmetic in these formats. I think that there just has to be a package or mo