py2exe

官方网站

http://www.py2exe.org/index.cgi/FrontPage

下载地址

http://jaist.dl.sourceforge.net/project/py2exe/py2exe/0.6.9/py2exe-0.6.9.win32-py2.7.exe

使用方式

1. hello.py

print "Hello World!"

2. setup.py

from distutils.core import setup
import py2exe
setup(console=['hello.py'])

3. python setup.py py2exe

4. ./dist/hello.exe

原文地址:https://www.cnblogs.com/WeRtogether/p/4463725.html