> Try: > > s = os.popen("DIR").read() > Thanks Steve.
Is there anyway I can get the exit code (what os.system returns) from os.popen? -- http://mail.python.org/mailman/listinfo/python-list
> Try: > > s = os.popen("DIR").read() > Thanks Steve.
Is there anyway I can get the exit code (what os.system returns) from os.popen? -- http://mail.python.org/mailman/listinfo/python-list