Table of Contents

python程序打包成exe

1. Install module pyinstaller

# Install package
pip install pyinstaller

# Check the package
pyinstaller -v

2. Generate exe

pyinstall -F test.py
# or, -w, no terminal
pyinstaller -F music.py -w