Use py2exe compile python file into exe file(用py2exe把python文件编译成exe文件)
2013-11-10 11:44
519 查看
用py2exe把python文件编译成exe文件
first: Create a new python file(Please pledge the python version suit the py2exe version)
(Py2exe download address:http://sourceforge.net/projects/py2exe/files/py2exe)
(if having no access to the download address, please use my temp address: http://pan.baidu.com/s/1CFbz9)
Tips: perWlan.py is the filename you want to translate into exe file.
Second: Enter the discovery the same as the file mysetup.py
Use cmd python shell command:
>>python mysetup.py py2exe
first: Create a new python file(Please pledge the python version suit the py2exe version)
(Py2exe download address:http://sourceforge.net/projects/py2exe/files/py2exe)
(if having no access to the download address, please use my temp address: http://pan.baidu.com/s/1CFbz9)
# mysetup.py from distutils.core import setup import py2exe setup(console=["perWlan.py"])
Tips: perWlan.py is the filename you want to translate into exe file.
Second: Enter the discovery the same as the file mysetup.py
Use cmd python shell command:
>>python mysetup.py py2exe
相关文章推荐
- 使用py2exe将python文件.py编译成可以执行文件.exe
- 使用py2exe 将python文件转成exe文件(以及 error: [Errno 2] No such file or directory: 'MSVCP90.dll'解决方法)
- 把python文件编译成exe文件
- 【Python】爬图片,Py2exe打包成EXE,并用inno setup生成安装文件
- python 安装 pyinstall 编译exe文件
- 将Python文件打包成exe的两种方法(pyinstaller和py2exe)之pyinstaller篇
- 【python】关于py2exe编译py时用到的配置文件
- 使用py2exe将python 脚本生成exe可执行文件
- 利用Python的pip.exe文件将.whl文件解压为py2exe
- 将Python文件打包成exe的两种方法(pyinstaller和py2exe)之py2exe篇
- windows7下使用py2exe把python打包程序为exe文件
- 关于利用Python的pip.exe文件将.whl文件解压为py2exe
- python-转换成exe文件(py2exe)
- Python编译成单独运行的exe文件
- 使用py2exe将python3程序转换成exe文件
- python编译成exe文件
- Python脚本文件转为exe文件---py2exe
- python(py2exe)打包成exe执行文件,vista/win7下icon图标显示问题的解决方案
- 使用py2exe在Windows下将Python程序转为exe文件
- pyinstaller 在Windows下Python3.6编译生成exe文件