Python程序打包

钎探穗

关注

阅读 41

2022-04-15

  1. pip install pyinstaller

  2. 常用参数

    https://www.jb51.net/article/206825.htm

​ pyinstaller --distpath …/DirectRun -y -F -n 手势操作.exe -i …/minicar.ico hands_controller.py

​ --distpath 生成文件放在哪里
​ -y 覆盖
​ -F 生成一个exe文件(另一种是目录)
​ -n 生成的exe文件名
​ -i 执行图标

精彩评论(0)

0 0 举报