Fredrik Lundh wrote:
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?

Sorry, lang mix-up:

x = "System Up Time"
if x in line:
   print line
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to