Heh, sorry for all these questions so close together.

Gordon McMillan gmcm at hypernet.com
Sat Mar 25 20:33:48 CET 2000


Falknor wrote:
 
> The equiv to the gettimeofday is time.time().. that's no prob.  Prob is, it only
> returns seconds.. not micro seconds.  and the differences in 
> the C select and the Python one throw me for a little loop.. 
> Not sure how i could do the same thing with the 
> select.select() as is done there :)

time.time returns a float number of seconds. time.sleep takes 
a float, and for most platforms is implemented in terms of 
select.



- Gordon




More information about the Python-list mailing list