Hi all....
How can I create .exe format in python???????
I mean how to change .py to .exe ????

please reply as fast as possible

You have to use module py2exe.
This module is a packer that puts your code, all needed modules and the Python interpreter into a self-unpacking .exe file.

Use google to find it, it's a free download

Pyinstaller is also a binary compiling package for python. It may be easier to use than Py2Exe, but I would highly recommend using py2Exe.

Pyinstaller is also a binary compiling package for python. It may be easier to use than Py2Exe, but I would highly recommend using py2Exe.

GUI2exe handles them all. You can install them all and choose them on fly ;)

I have Gui2exe installed already but haven't quite used it due to a problem.
The problem is - in "gui"window of gui2exe the locations for python modules does not accept the given modules separated by commas
i.e.(tkinter,zipfile,fnmatch...)
Is this the right technique ?

The problem is - in "gui"window of gui2exe the locations for python modules does not accept the given modules separated by commas
i.e.(tkinter,zipfile,fnmatch...)
Is this the right technique ?

You dont use comma in gui2exe,if you want to include/exclude moduls push add button and write the name.
Then it will be put in a list in the setup script.
So if you want to add tkinter push add button and write name.
Then push add button and new name...and so on.

Edited 6 Years Ago by snippsat: n/a

This article has been dead for over six months. Start a new discussion instead.