【Python】-Linux下将Python脚本打包为可执行文件
时间:2020-12-18 14:38:41
收藏:0
阅读:132
1. 下载 pyinstaller
下载请戳。解压即可使用。
2. 打包生成可执行文件
使用以下命令进行打包:
1 pyinstaller_path/pyinstaller.py -F source.py
命令执行后,在当前目录中会出现一个dist目录。生成的可执行文件在这个目录下。
原文:https://www.cnblogs.com/murongmochen/p/14154481.html
评论(0)