溫馨提示×

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還支持通過額外的命令行參數(shù)來添加其他非標準庫。這些參數(shù)允許用戶指定要包含在可執(zhí)行文件中的特定庫或模塊。

總的來說,PyInstaller支持的Python庫非常廣泛,能夠滿足大多數(shù)Python應用程序的打包需求。如需更多信息,建議訪問PyInstaller的官方網(wǎng)站或查閱相關(guān)文檔。

0