oluşturduğunuz .exe dosyası çalışır duruma geçtiğinde konsolun açılmasını veya görünmesini istemiyorsaniz noconsole kodu kullanmanız gerekir. örnek kod:

pyinstaller --onefile --noconsole test.py