pyinstall的安装及使用

一 pyinstall库的基本介绍

1.1 pyinstall库概述

将.py源代码转换成无需源代码的可执行文件
pyinstall库是第三方库
  • 官方网站:http://www.pyinstaller.rg
  • 第三方库:使用前需要额外安装
  • 安装第三方库需要用到pip工具

1.2 pip的使用

1.3 pip install pyinstaller (cmd命令行下操作)

pip intsall pyinstaller

二 pyinstaller库的使用说明

2.1 简单的使用

(命令行下操作)
pyinstaller -F <文件名.py>
运行成功后会生成这么一个exe文件
双击就可以运行代码了
 

2.2 pyinstaller库常用参数

 
 
 
 

posted on 2019-10-25 20:07  Everuse  阅读(3880)  评论(0编辑  收藏  举报

导航