Make an *.EXE Using Python.

G. Willoughby thecalm at
Thu Jul 19 21:00:46 CEST 2001

thanks that works great! but one more question... i have compiled my script
to an .exe BUT is there a way of getting rid of the console window. i tried:

pythonw py2exe

instead of

python py2exe

but this only copied the 'tcl' dir to the 'dist' dir! any ideas???


"eric_brake" <brakedon at> wrote in message
news:7b515e0f.0107081724.56b2a434 at
> "EricIDLE" <grayson-wilson at> wrote in message
news:<oAI17.647550$166.13393459 at>...
> > Hello,
> > I was wondering is there a way to make a exe using Python?
> > I seem to remeber vagely that there was a "Make EXE" choice under the
> > menu but its no longer there (If it ever was) so if you can give me a
> > with this it would be great.
> You will need to create a "" file. Here is the working code that I
> from distutils.core import setup
> import py2exe
> setup(name = "filename", #not sure what this does, but it doesn't hurt
>       version = "1.0", #meta info, shows up in the exe you make
>       author = "John Doe", #meta info, your name
>       author_email = "johndoe at",#meta info, author email
>       scripts = [""])#target script, the script you want to
make an
>                                 #exe with

More information about the Python-list mailing list