problem compiling executable with py2exe

Fredrik Lundh fredrik at pythonware.com
Fri Nov 25 06:33:02 EST 2005


"tim" <tim.vets at skynet.be> 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):'))

but

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

indicates that it doesn't have one.

</F> 






More information about the Python-list mailing list