py2exe
py2exe download:
http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/
参考:
http://www.cnblogs.com/jans2002/archive/2006/09/30/519393.html
setup.py code:
1 from distutils.core import setup 2 import py2exe 3 setup(console=["helloworld.py"])
run setup.py
python setup.py py2exe