China Naming Network - Ziwei Dou Shu - How to compile python into a small program after programming

How to compile python into a small program after programming

Method of compiling python code into exe file:

1. first, install pyinstaller on the computer.

2. Then use the pyinstaller in the specified directory to compile the py file into an exe.