uptime for Win XP?

Brian van den Broek bvande at po-box.mcgill.ca
Sun Dec 12 21:49:09 EST 2004


Esmail Bonakdarian said unto the world upon 2004-12-12 20:45:
> 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

Hi Esmail,

try looking for it on your box ;-)

When I recently installed win32all, my Python 2.4 entry on the startmenu 
grew a shortcut for "Python for Windows Documentation".

Best,

Brian vdB



More information about the Python-list mailing list