2020-01-09 生成小程序 exe

1.pip install pyinstaller
2.shift+ 右键
3.依赖环境 python3
4.对于单个文件
pyinstaller -F -w --icon=1.con demo.py
-F (单个文件)
5.对于多个文件
pyinstaller -D -w --icon=1.con demo.py
-D (单个文件)

image.png

你可能感兴趣的:(2020-01-09 生成小程序 exe)