pyinstaller 安装
pip install pyinstaller
0.pyinstaller -F test.py 生成单个exe,并且会弹出dos (最佳选择)
1.pyinstaller -F -w test.py 生成单个exe,但不会弹出dos窗口(脚本中不能还有print等输出输入命令)
2.pyinstaller -w test.py 生成的exe会弹出dos窗口 生成一大堆文件
pyinstaller 安装
pip install pyinstaller
0.pyinstaller -F test.py 生成单个exe,并且会弹出dos (最佳选择)
1.pyinstaller -F -w test.py 生成单个exe,但不会弹出dos窗口(脚本中不能还有print等输出输入命令)
2.pyinstaller -w test.py 生成的exe会弹出dos窗口 生成一大堆文件