Python27将文件打包成exe文件
安装python-2.7.3.amd64.msi
安装模块
1.PyInstaller-3.2.zip
C:\Python27\python.exe setup.py install
2.pywin32-220.win-amd64-py2.7.exe
3.pefile2-1.2.11.tar.gz
C:\Python27\python.exe setup.py install
4.setuptools-28.8.0
C:\Python27\python.exe setup.py install
5.PySide-1.2.2.win-amd64-py2.7
from PyInstaller.__main__ import run opts=['FileExport.py','-w','-F','--icon=favicon.ico']run(opts)
run(opts)
评论回复