官方网站

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

 

posted on 2015-04-28 18:12  weRtogether  阅读(176)  评论(0编辑  收藏  举报