Python's way to make EXE executables---use Pyinstaller python to generate an executable program in the Windows EXE format with three options: Py2exe is well known, today to introduce Pyinstaller, this tool is available on a full platform. I used Python to make a utility for my company colleagues, and since the company has a lot of Windows with Mac Linux, it has been used to make the program executable, compatible, It just makes the program slow to start on the Linux platform and the Mac platform (Windows is still faster), but it's basically enough. After installing the Pyinstaller, you can start. 1. Method of generating an executable file using Pyinstaller 1.1 set the dependent files to a folder: pyinstaller-d-W main.py #把main. Py to your main portal Python file. The-w parameter represents main.py as a form program. 1.2 Package all dependent files into the same executable: Pyinstaller-f-W main.py 2. Investigate the loading process of the Pyinstaller generator by using the following command, you can get the runtime tracking, tracing, lo Ader the loading process. PYINSTALLER-FWD aui.py #把aui. py to the file you need to detect.
Python's way to make EXE executables---use Pyinstaller