如何在没有安装 Python 的机器上运行 Python 程序

cmd 命令

1. pip install pyinstaller

2. pyinstaller <path to your prog.py>

3. 应用程序在prog.py同路径下的 dist 文件夹里

程序依赖的DLL都打包在一起,非常棒

原文地址:https://www.cnblogs.com/liujx2019/p/10282428.html