cos*_*bur 28

您可以使用支持python 3.5的PyInstaller.

要在终端中使用pip执行它来安装它: pip install pyinstaller

要生成.exe文件:

pyinstaller --onefile script.py
Run Code Online (Sandbox Code Playgroud)