py2exe

官方網站python

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

下載地址.net

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

使用方式import

1. hello.pycgi

print "Hello World!"下載

2. setup.pyim

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

3. python setup.py py2execo

4. ./dist/hello.exe

相關文章
相關標籤/搜索