Python代码转换为exe可执行程序详解

1:安装pyinstaller

pip install pyinstaller

2,制作exe

1,先写一个hello.py

print('hello world!')

input()

2.执行(在script文件夹下)

pyinstaller  -F ../project/hello.py

 
原文地址:https://www.cnblogs.com/zgaspnet/p/9870308.html