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

cmd 命令

1. pip install pyinstaller

2. pyinstaller <path to your prog.py>

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

 

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

posted on 2019-01-17 15:20  liujx2019  阅读(2061)  评论(0编辑  收藏  举报

导航