Python is packaged as exe -- pyinstaller
brief introduction
Package Python programs as executable files exe
have access to pyinstaller , you can also use Nuitka
This article mainly introduces the use of Windows pyinstaller
install
To avoid packing files that are too large, use the virtual environment control package
Install virtual environment management pack under Window ...
Added by berry05 on Sat, 29 Jan 2022 04:31:06 +0200
py packaging tool
Library address:
auto-py-to-exe
https://pypi.org/project/auto-py-to-exe/
Gooey
https://pypi.org/project/Gooey/
Why introduce these two libraries?
Directly throw the code to others: various configuration environments can only be executed with
Command line execution: ugly
Packaging complexity
Visual interface programming is complex
auto-py-to-e ...
Added by dcro2 on Tue, 28 Dec 2021 12:46:25 +0200
PyInstaller tutorial and using PyInstaller to package PySide6 program
1. Installation and use
Use the following command to install
pip install pyinstaller
Basic commands:
# Syntax: pyinstaller option source file
pyinstaller -F main.py
Common options:
optioneffect-F,-onefileGenerate a single executable-D,--onedirGenerate a directory (containing multiple files) as an executable program-a,--asciiDoes not ...
Added by shibbi3 on Fri, 19 Nov 2021 14:54:46 +0200