uptime for Win XP?

Peter Hansen peter at engcorp.com
Sun Dec 12 18:36:36 EST 2004


Fredrik Lundh wrote:
> you're a bit late, aren't you?

Or a lot early, perhaps. ;-)

>>for line in data:
>>   if line contains "System Up Time":
>>      print line
> 
> what Python version is this?

Python 2.7, natch.



More information about the Python-list mailing list