您的位置首页百科问答

如何使用cxfreeze打包py文件

如何使用cxfreeze打包py文件

Python codeimport sysfrom cx_Freeze import setup, Executablebase = None if sys.platform == "win32":base = "Win32GUI"setup(name = "迹慎client"肆世,version = "1.0"姿雹敬,description = "client tools",executables = [Executable("scriptcomp.py",base = base,icon = "CodeCount.ico")])