Pipes in PythonWin
Raymond Hettinger
othello at javanet.com
Sun Feb 18 19:30:48 EST 2001
Mark Hammond wrote:
> Raymond Hettinger wrote:
>
> > 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?
>
> This is a bug. To work around it copy "w9xpopen.exe" to the same
> directory as pythonwin.exe
>
> Mark.
It works and I'm back in business!
Thanks,
Raymond
More information about the Python-list
mailing list