Py2exe使用
来源:互联网 发布:淘宝全网举报假货最快 编辑:程序博客网 时间:2024/06/03 09:40
假设有一个Hello.py需要生成exe文件
习惯在同一目录下新建setup.py文件
内容:
from distutils.core import setup import py2exesetup(console=['x:/xxx/hello.py'])
注意一定是全路径。
cmd进入setup.py的目录下:
python ./setup.py py2exe
成功会在同级目录生成dist、build,exe文件在dist里
0 0
- py2exe使用
- py2exe使用
- Py2exe使用
- py2exe使用简介
- py2exe简单使用
- py2exe的使用
- 使用py2exe和matplotlib
- py2exe使用总结
- 使用py2exe生成可执行文件
- py2exe使用记录
- Python py2exe简单使用
- Win 下使用py2exe
- Py2exe的使用
- py2exe的使用
- py2exe 使用简介
- py2exe使用教程
- py2exe的使用
- 使用py2exe打包发布
- Android连续点击两次按钮启动两次Activity
- Oracle——distinct的用法(效率)
- Android进阶——字符串排序
- 2015技术博客记
- intall Extra Packages for Enterprise Linux
- Py2exe使用
- JAVA-计算器
- 乐杨俊
- spring core io 包 ResourceLoader接口
- 很简单的一个c语言问题switch中用了return
- IOS开发--基于Swift集成高德地图
- 一些常用的大牛博客ios
- lighttpd 配置
- 四方在线打印控件使用(简介)