Reputation: 33
Hello to the Stack Overflow Community! I am an amateur coder & student and am developing a UI for my superiors at my 'school.' I have been bothered by the Python Shell window opening as well and was wondering if there was a way to remove that window without having my Tkinter program shut down.
Thanks!
Upvotes: 2
Views: 1810
Reputation: 143097
If you run in IDLE then don't bother Python Shell - IDLE is used only to develop code.
Later you don't need IDLE to run it and you will no see Python Shell.
Upvotes: 0
Reputation: 13520
Rename you main script to have the extension .pyw
. This file type, when executed, is by default run by pythonw.exe instead of python.exe, and it doesn't show the console.
You will need some means to report debug errors, though. Just an advice.
Upvotes: 1