python pyinstaller同时打包多个py文件

python pyinstaller同时打包多个py文件

1.运行pyinstaller main.py生成main.spec

 2.修改main.spec,打包的文件需要放在main.py的相同目录

 3.添加打包的文件

 4.执行pyinstaller main.spec   

 5.找到exe文件目录并测试

 

 

posted @ 2023-12-28 11:29  txwtech  阅读(863)  评论(0)    收藏  举报