温馨提示×

PyInstaller Python支持哪些库

小樊
83
2024-10-23 18:49:25
栏目: 编程语言

PyInstaller支持Python的众多标准库,包括但不限于:

  • os
  • sys
  • math
  • random
  • datetime
  • json
  • re(正则表达式)
  • csv
  • tkinter
  • PyQt5
  • requests
  • flask
  • pandas
  • numpy
  • scipy
  • sklearn
  • tensorflow
  • keras
  • PyTorch
  • OpenCV
  • PIL(Python Imaging Library)
  • Pygame
  • PyDub
  • PyPDF2
  • PyYAML
  • xml.etree.ElementTree
  • html.parser
  • http.client
  • socket
  • ssl
  • _thread
  • _heapq
  • _bisect
  • _collections
  • _csv
  • _datetime
  • _functools
  • _imp
  • _io
  • _locale
  • _math
  • _random
  • _re
  • _socket
  • _sqlite3
  • _struct
  • _time
  • _types
  • _winreg

此外,PyInstaller还支持通过额外的命令行参数来添加其他非标准库。这些参数允许用户指定要包含在可执行文件中的特定库或模块。

总的来说,PyInstaller支持的Python库非常广泛,能够满足大多数Python应用程序的打包需求。如需更多信息,建议访问PyInstaller的官方网站或查阅相关文档。

0