python3 安装pyinstaller_python3.7 打包(.exe)神器——pyinstaller 安装及用法

本文介绍了Python打包工具PyInstaller,包括其功能、优势、支持的平台和Python版本,以及安装和使用方法。PyInstaller能将Python脚本打包成可执行文件,适用于Windows、Mac OS X和GNU/Linux系统。文章还提到了PyInstaller的安装和基本用法,如通过pip安装和打包命令。此外,文中提到PyInstaller打包速度较慢,适合小型应用。
摘要由CSDN通过智能技术生成

python打包工具都有哪些?主要有:py2exe、pyinstaller、cx_Freeze、nuitka等

工具名称

windows

linux

是否支持单文件模式

bbfreeze

yes

yes

no

py2exe

yes

no

yes

pyinstaller

yes

yes

yes

cx_Freeze

yes

yes

no

py2app

no

no

yes

nuitka

yes

yes

yes

(上表来源于网络,未经考证)

本文介绍功能比较强大的pyinstaller

Github介绍:https://github.com/pyinstaller/pyinstaller

使用手册:https://pyinstaller.readthedocs.io/en/latest/#

一、 pyinstaller 介绍

以下摘取官网介绍(能力有限,英文可能翻译的不准确):

PyInstaller reads a Python script written by you. It analyzes your code to discover every other module and library your script needs in order to execute. Then it collects copies of all those files -- including

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值