pyinstaller将python程序打包成exe

安装pyinstaller:

pip3 install pyinstaller

打包程序:

pyinstaller -F --distpath release main.py --noconsole

你可能感兴趣的:(pyinstaller将python程序打包成exe)