Re: Datetime with float seconds

2009-08-06 Thread kpal
On Aug 6, 7:43 am, Hendrik van Rooyen  wrote:

> I am curious as to what would require less than microsecond
> timing - about the only thing I can think of would be something
> involving measuring the speed of light, where nanoseconds
> or better would be nice.

You are right :-) I am trying to write a scientific software that does
some satellite geodesy computations (involving the speed of light),
and I would prefer to keep all the times float, while retaining the
time and time interval arithmetics and format transformation
capabilities of datetime. The system time granularity, that is of
cause limited, is not a problem at all, as the data are to be
initialized by constructing instances from external data.

Thanks
-- 
http://mail.python.org/mailman/listinfo/python-list


Datetime with float seconds

2009-08-05 Thread kpal
Hello Everybody,

The standard datetime has 1 microsecond granularity. My application
needs finer time resolution, preferably float seconds. Is there an
alternative to the out-of-the-box datetime? Timezone support is not
essential.

Thanks,
-- 
http://mail.python.org/mailman/listinfo/python-list