Re: problem compiling executable with py2exe

Discussion in 'Python' started by Fredrik Lundh, Nov 25, 2005.

  1. "tim" <> 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>
     
    Fredrik Lundh, Nov 25, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. tim
    Replies:
    0
    Views:
    348
  2. Replies:
    15
    Views:
    491
    Dave Thompson
    Aug 21, 2006
  3. pratap
    Replies:
    20
    Views:
    760
    Flash Gordon
    Mar 7, 2007
  4. Jason Cavett
    Replies:
    8
    Views:
    622
    Sanjay
    May 16, 2007
  5. Replies:
    0
    Views:
    443
Loading...

Share This Page