Tool:
- Pyinstaller
Installation:
cmd type the command
pip install pyinstaller
Package Package:
Directory into the required package py file
Hold down the
shift
key while the right mouse button to open a command windowEnvelope command input
pyinstaller -F 文件名.py
Common parameters:
parameter description -h Check the module help -F Create a separate executable program -D Create files stored in the same folder (default value) -w Specifies the command line window does not appear (valid only for Windows) is running -c Specified using the command line window to run the program (only for Windows and effect and that is the default) -i Specifies the program icon back with ico file path -n Specifies the program name