py2exe error

Thomas Heller thomas.heller at ion-tof.com
Tue May 29 05:54:57 EDT 2001


"Markus von Ehr" <mvonehr at web.de> wrote in message news:3B136C78.369A10AA at web.de...
> Hi,
>
> I use the command os.popen('dir','r').
> In th exe I have the following error: file not found.
> Then I tried the popen2 module.
> w, r = popen2.popen2('dir', mode='t')
> The same occurred.
> File "popen2.pyc", line 120, in popen2
> the file is not found.
>
To use any popen-variant on Win95 or Win98 you
have to copy the helper application w9xpopen.exe
into the same directory where your executable lives.

Thomas





More information about the Python-list mailing list