概述:是第三方库,将py源码转换成无需源码的可执行文件   .py  pyinstaller    --> .exe

官网:https://pyinstaller.readthedocs.io/en/stable/usage.html

 

安装:(cmd命令行下)pip install pyinstaller

PyInstaller库基本使用

 

升级:(cmd命令行下)pip install --upgrade pyinstaller

使用:

(cmd命令行下)pyinstaller  -F 文件名.py                               -F :在dist文件夹中只生成独立的打包文件

 PyInstaller库基本使用

PyInstaller库基本使用

 

 (cmd命令行下)pyinstaller  -F 文件名.py -i 图标文件名.ico                             -F :在dist文件夹中只生成独立的打包文件      -i 指定打包程序使用的图标(icon)文件

PyInstaller库基本使用

PyInstaller库基本使用

 

 

 

 

 

 




 

相关文章:

  • 2021-07-03
  • 2021-09-10
  • 2022-01-12
  • 2022-01-20
  • 2022-12-23
  • 2021-04-30
  • 2021-08-18
  • 2022-01-24
猜你喜欢
  • 2021-07-08
  • 2021-05-28
  • 2022-12-23
  • 2021-04-13
  • 2021-10-22
  • 2021-10-22
相关资源
相似解决方案