3
Use the pythonw.exe
to run the application instead of python.exe
; To do this, rename your app.py
to the extent app.pyw
because this extension is already associated with pythonw.exe
.
3
6
Use the pythonw.exe
to run the application instead of python.exe
; To do this, rename your app.py
to the extent app.pyw
because this extension is already associated with pythonw.exe
.
-2
Enter the following script at the start of your code:
import ctypes
ctypes.windll.kernel32.FreeConsole()
Browser other questions tagged python python-3.x gui
You are not signed in. Login or sign up in order to post.