python使用cxfreeze打包
来源:互联网 发布:湖南机电职院网络 编辑:程序博客网 时间:2024/06/05 17:36
1.下载cxfreeze,或者通过pycharm下载
2.配置打包文件
import sys
from cx_Freeze import setup, Executable
# Dependencies are automatically detected, but it might need fine tuning.
build_exe_options = {"packages": ["os"]}
# GUI applications require a different base on Windows (the default is for a
# console application).
base = None
if sys.platform == "win32":
base = "Win32GUI"
setup( name = "guifoo",
version = "0.1",
description = "My GUI application!",
options = {"build_exe": build_exe_options},
executables = [Executable("C:\Users\wqjzz\PycharmProjects\untitled4\weikuangku\SendServices.py", base=base)])
命名为setup.py
放到项目的当前文件夹
3.执行命令:python setup.py build
即生成了exe文件
注:
出现
ImportError: No module named _mssql,打开exe时出现这样的错误时,显式调用下
import _mssql
- python使用cxfreeze打包
- cxfreeze打包python文件
- cxfreeze打包使用记录
- python程序打包(py2exe, pyinstaller, cxfreeze)
- cxfreeze的打包实践
- py 正则表达式 List的使用, cxfreeze打包
- cxfreeze打包要注意的一些问题
- 用cxfreeze将python转为exe
- python3的cxfreeze 的简单使用
- cxfreeze 打包Python3的文件为.exe应用程序
- 关于pyhon/pyinstaller/cxfreeze/soaplib/webservice的使用
- 用Python3.4.2+cx_Freeze4.3.3(cxfreeze)编写、打包Linux可执行程序
- cxfreeze的安装问题 以及将打包Python3.4 成exe文件
- cxfreeze打包工程文件生成.exe,运行exe出现闪退问题,相关解决办法总结
- 使用Pyinstaller打包Python脚本
- Ubuntu使用pyinstaller打包python
- Python程序使用py2exe打包
- 使用pyinstaller打包Python应用程序
- gem5、McPAT和HotSpot的联合仿真实验教程
- 毕业一周年
- 对象(object)和变量(variable)的区别和联系
- starting to launch local task to process map join maximum memory =1029701632 的原因
- 用Fiddler模拟低速网络环境
- python使用cxfreeze打包
- rand函数的用法
- convert-sorted-list-to-binary-search-tree
- static有什么用
- 华为路由器模拟器实验七
- 农业垂直搜索引擎五》索引与检索模块的设计与实现
- BLE蓝牙开发的基本步骤
- 并查集详解 (转)
- 好的爱情,需要允许对方的不完美