ARTICLE DETAIL

资讯详情

深耕网站建设、视觉设计与SEO优化的一线实战洞察。

【Python】cx_Freeze模块_打包exe

【Python】cx_Freeze模块_打包exe

创建setUp.py

from cx_Freeze import setup, Executablesetup(name = "AppName",version = "0.1",description = "Your application description",executables = [Executable("main.py")])

使用一下命令打包

python setup.py build

image
image

返回列表