如何使用cx_Freeze给多个py文件打包。
有人会使用cx_Freeze打包多个python文件吗(生成exe文件)?谢谢.
[解决办法]
http://shake863.iteye.com/blog/201767
我看别人写的博客文章关于这个的使用很简单啊,就指定一个入口py文件就可以了,相关的东西都会打包进去。我没用过,你试过了这样不行吗?
[解决办法]
import sys from cx_Freeze import setup, Executable base = 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")])