transfer .py to .exe
来源:互联网 发布:网络安全法 七类行为 编辑:程序博客网 时间:2024/05/16 17:11
安装py2exe即可
1、下载链接:http://sourceforge.net/projects/py2exe/files/py2exe/0.6.9/
2、编写mysetup.py:
from distutils.core import setupimport py2exesetup(console=["将要转换的文件名称.py"])
注:mysetup.py 和 test.py 放在Python安装目录下,一般是c:\python27,文件名最好不要以a开始,识别的时候会出现乱码
3、命令行进入c:\Python27,输入以下命令:
python setup.py py2exe
4、生成的文件在c:\Python27目录下,文件夹dist
0 0
- transfer .py to .exe
- .py to .exe (by py2exe)
- 让py变成exe
- 让py变成exe
- py打包成exe
- transfer to another team
- Transfer task to action
- transfer to Swift
- py2exe将py生成exe
- 将.py转换为.exe
- python py转换为exe
- maven ArtifactTransferException: Failure to transfer
- maven ArtifactTransferException: Failure to transfer
- maven ArtifactTransferException: Failure to transfer
- mahout ArtifactTransferException: Failure to transfer
- maven ArtifactTransferException: Failure to transfer
- maven ArtifactTransferException: Failure to transfer
- maven ArtifactTransferException: Failure to transfer
- HDU 1695 GCD (欧拉函数+容斥原理)
- 第一章C++对C的扩展(Externsion)--(3)函数重载
- 总结
- jmx介绍及示例
- Android小记:安卓开发者必备的42个链接
- transfer .py to .exe
- CC Team project Live Test 1
- VS利用ADO连接数据库的操作
- 阿里巴巴rocketmq的运维指令
- Tomcat7 开启CGI,并配置awstats日志监控
- Sikuli -- 创新的图形化编程技术
- 测试时:The connection to adb is down, and a severe error has occured.
- 【算法竞赛】:分数拆分
- 带指示器的viewpager----ViewPagerIndicator的改进版