1. Install Pyinstaller plug-in
CMD command: Pip install Pyinstaller
Ps. O.o don't know Easy_install Baidu Bar.
2, Pyinstaller Introduction
He can easily help me to package the Python script into an. exe program.
CMD package directive: Pyinstaller [Some parameters] [package the path of the. Py Script]
After packaging, two folders will be generated in the user directory (where the finished product is packaged under the build folder):
1, when we do not give any parameters when:
The packaged result is a folder:
The folder has many dependent files such as DLLs
And is run with a command-line window.
2.-W Instruction (lowercase w)
Package and run without a command-line window
3.-F Instruction (uppercase F)
Packaged as a standalone. exe file, with various dependency packages such as DLLs
3. Packing
A separate. exe file.
:
4, after the statement
O.o feel that no matter what language to develop things, all want to get him into the. exe file to play ...
Reprint please indicate the source ('? ') ): http://www.cnblogs.com/Twobox/
2017-08-30 12:58:18
[Python] [Small knowledge] [No.5] packaged as an. exe file using Pyinstaller