Python Program Closes Instantly

Python Program Closes Instantly 8,5/10 1427 votes
  1. Python Keeps Closing
  2. Python Program Keeps Closing

I am making a simple pygame program, and it proved helpful fine until right now. When I open it it closes immediately. I possess already found out that it only happens when I attempt to perform the function 'menu'.

Python Keeps Closing

Some other functions simply work fine.

Python Program Keeps Closing

Batch Script Flashes And Then Immediately Closes After A Relocate. By Nick Borneman. On Aug 22, 2013 at 14:12 UTC. IT Programming. Next: Moving multiple files via VB scripting. Get answers from your peers along with millions of IT pros who visit Spiceworks. Have a batch file that does several actions for us but we are. Python - When executing program via CMD, it just closes after the second input. It's also happened to all my Python programs. Any ideas why? Is it to do with my terrible code? And the CMD should open and close instantly. – Bakuriu Sep 13 '13 at 20:25. Strangely, rawinput doesn't work on Python Shell.

Posted on