r/learnpython • • 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

5 comments sorted by

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

u/Expensive-Bear-1376 2h ago

Do they not have an "X" button like every window?