1.进入cmd指令
pip install pyinstaller
2.添加图标地址及py文件地址
pyinstaller -F -w -i C:UsersDesktopinterestimageslook.png C:UsersDesktopinterestxx.py
3.在dist文件夹里,就有了exe文件啦

1.进入cmd指令
pip install pyinstaller
2.添加图标地址及py文件地址
pyinstaller -F -w -i C:UsersDesktopinterestimageslook.png C:UsersDesktopinterestxx.py
3.在dist文件夹里,就有了exe文件啦