Python生成exe文件
1,打开网址:pyInstalller下载网址
2.选择正确的版本安装pyinstaller
3.将py文件放到目录下
4.cmd进入安装目录下:我的目录在D:\pyinstaller
5.cmd 下执行 python pyinstaller.py -F hello.py
命令参数如下:
1,打开网址:pyInstalller下载网址
2.选择正确的版本安装pyinstaller
3.将py文件放到目录下
4.cmd进入安装目录下:我的目录在D:\pyinstaller
5.cmd 下执行 python pyinstaller.py -F hello.py
命令参数如下: