python打包成exe

1、第一步下载pyinstaller,执行:pip install pyinstaller

2、第二步打包,执行:pyinstaller --onefile --noconsole main.py
posted @ 2025-04-21 16:07  zqxLonely  阅读(13)  评论(0)    收藏  举报