logo
  • 教程列表
  • SO官方文檔
  • PyInstaller - 分發 Python 程式碼
    • 安裝和設定
    • 使用 Pyinstaller
    • 繫結到一個資料夾
    • 繫結到單個檔案
  1. StackOverflow 文件
  2. Python Language 教程
  3. PyInstaller - 分發 Python 程式碼
  4. 繫結到單個檔案

繫結到單個檔案

Created: November-22, 2018

pyinstaller myscript.py -F

生成單個檔案的選項是 -F 或 --onefile。這將程式繫結到一個 myscript.exe 檔案中。

單個檔案可執行檔案比單個資料夾包慢。它們也更難除錯。

  • 繫結到一個資料夾

Copyright © 2018. All right reserved

tastones.com 备案号:鲁ICP备18045372号-1

  • 關於本站
  • 免責聲明