r/learnpython • u/WheetabixLicker6767 • 3h ago
How to shut python shell/idle window
hello, I am kinda new to python and I am not sure if someone already answered this in another post but how do you fully shut down the windows running python? Like not just clearing them but getting rid of the whole window
0
Upvotes
4
u/dparks71 2h ago
quit()
1
u/ActuatorGlittering94 1h ago
in idle that actually prompts a confirmation popup first, so if someone is trying to close it programmatically from a script it wont just shut straight down
1
5
u/YouPeopleCantBeReal4 2h ago
Ctrl+D