[Tutor] How to create self contained Windows executables (.exe files) from python scripts

Alan Gauld alan.gauld at btinternet.com
Fri May 18 01:27:39 CEST 2012

On 18/05/12 00:02, Brad Hudson wrote:
> Can someone point me to information on how to create Windows .exe files
> from python 2.7.3? The py2exe method (www.py2exe.org
> <http://www.py2exe.org>) appears to only be available for python 2.6
> from the sites I've seen.

You can try PyInstaller:


It claims to work on 2.7.

Rumour has it that its slightly more complex to use than py2exe but I 
can't vouch for that since I've never found a need to create exe files...

There are several other such tools too, Google will find them for you.

Alan G
Author of the Learn to Program web site

More information about the Tutor mailing list