Pipes in PythonWin

Raymond Hettinger othello at javanet.com
Fri Feb 16 22:42:35 CET 2001


Any idea how to get the pipe functions to work from within
PythonWin?

At the the command line, this script works:
   print os.popen('cal').read()

Within PythonWin, I get:
  WindowsError: [Errno 2] The system cannot find the file specified

Is there some enabling step or work around?

Thanks,

Raymond




More information about the Python-list mailing list