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

1:安装pyinstaller

pip install pyinstaller

2,制作exe

1,先写一个hello.py

print('hello world!')

input()

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

pyinstaller  -F ../project/hello.py

 
posted on 2018-10-29 13:58  张扬个性,敢为天下先  阅读(1097)  评论(0编辑  收藏  举报