python 脚本转exe文件 # 下载pyinstaller pip3 install pyinstaller pyinstaller -F main.py -n 转XXX小工具 --noconsole # -F 转文件 # -n exe文件名 # --noconsole 不要黑窗口