ref: How to remove black screen (python console?) with PyQt5 executable
"C:\Users\User\AppData\Local\Programs\Python\Python311\Scripts\pyinstaller.exe"
pip install pyinstaller
pyinstaller --noconsole --onefile xyz1234.py
Ah, PyInstaller—a trusty companion for packaging Python applications into tidy, self-contained bundles!
标签:1027,exe,PyInstaller,like,Python,into,py,file,your From: https://www.cnblogs.com/alex-bn-lee/p/18291578