uptime for Win XP?

Fredrik Lundh fredrik at pythonware.com
Sun Dec 12 23:21:12 CET 2004

Brad Tilley wrote

> Just run the built-in Windows utility 'systeminfo' from a cmd prompt.

you're a bit late, aren't you?

> for line in data:
>    if line contains "System Up Time":
>       print line

what Python version is this?


More information about the Python-list mailing list