Is it safe to say that any value returned by os.system() other than 0 is 
an error?

if os.system('winver') != 0:
     print "Winver failed!"
else:
     print "Winver Worked."

Thanks!
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to