Your python will turn into exe format

1.pip install pyinstaller
2.pyinstaller -F F:\kktemp\qq.py

Py in the directory your files are located, generate build and dist folders, if the -F parameter is selected, then the program under dist folder that you want, you can delete the build folder

Note, pyinstaller can only be converted in the windows computer environment. English is also recommended path, do not include the Chinese, the low version of pyinstaller may be wrong.

 

Guess you like

Origin www.cnblogs.com/gisoracle/p/12290073.html