uptime for Win XP?

Esmail Bonakdarian ebonakDUH at hotmail.com
Sun Dec 12 20:45:24 EST 2004


Greg Krohn wrote:
>  if you have win32all installed, you can get it 
> from Python:
> 
>  >>> import win32api
>  >>> print "Uptime:", win32api.GetTickCount(), "Milliseconds"
> Uptime: 148699875 Milliseconds


Hi Greg!

Thanks, that was usefull, esp since I had no idea about the win32api
which I promptly downloaded ;-)

However, I don't seem to be able to find a good place that documents
this. I downloade this from sourceforge but didn't see docs there (did
I miss this?)

Do you have a URL for docs?

Thanks again!

Esmail



More information about the Python-list mailing list