pyinstaller命令使用

使用pyinstaller工具打包Python文件为exe时,pyinstaller的命令:
打包过程在一篇中:[打包exe] (https://blog.csdn.net/L_0000/article/details/88816053)
https://blog.csdn.net/L_0000/article/details/88816053
pyinstaller命令使用_第1张图片

常用:
-i   给应用程序添加图标
-F	指定打包后只生成一个exe格式的文件
-D	–onedir 创建一个目录,包含exe文件,但会依赖很多文件(默认选项)
-c	–console, –nowindowed 使用控制台,无界面(默认)
-w	–windowed, –noconsole 使用窗口,无控制台
-p  添加搜索路径

pyinstaller命令使用_第2张图片
参考点这里:
参考一

你可能感兴趣的:(小刀初试)