Download python 2.7 and py2exe-0.6.9.win32-py2.7.exe

  • create a under your project folder
from distutils.core import setup  
import py2exe  

# <name>.py is your python script
  • execute the following command
$ python py2exe
  • It will generate build and dist folder.
  • dist folder will contain everything you need to run (including <name>.exe)

dll not found
create python exe
py2exe tutorial

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License