Python .py文件打包为exe

需要安装Pyinstaller
在CMD命令行中运行

pyinstaller -F "C:\Users\L1308\Desktop\Python Demo\project\人力资源分析\sole_zhilian.py"

-F:打包为一个exe文件
生成文件在:C:\Users\L1308\dist

你可能感兴趣的:(Python .py文件打包为exe)