problem compiling executable with py2exe

Fredrik Lundh fredrik at
Fri Nov 25 12:33:02 CET 2005

"tim" <tim.vets at> wrote:

> I used py2exe before with more complex programs without any problem.
> Now, although my program works fine when I run it from PythonWin, it
> won't compile to an executable.

are you sure you're generating a console executable?  your program needs
access to the console:

> d=raw_input('path')
> s=int(raw_input('maxsize (in bytes):'))


> Traceback (most recent call last):
>  File "", line 4, in ?
> EOFError: EOF when reading a line

indicates that it doesn't have one.


More information about the Python-list mailing list