程序打包
这里我们使用pyinstaller 打包 -w参数是为了去除控制台输出
pyinstaller -w -F xxx.py
如果有其他库依赖,需要加参数-p
pyinstaller -w -F -p filepath\python...\Lib -p filepath\... mainxxx.py
如果觉得程序打开时间过长,可以去除-F参数
pyinstaller -w -F -p filepath\python...\Lib -p filepath\... mainxxx.py
打包完成的程序都在dist文件夹中,以exe的方式存在