morgan@xxxxxxxxxxx wrote:Thank you all. Running IDLE first and then loading the file fixes the primary problem, as does removing the -n from the "Edit With" option... whether or not that's going to cause other problems later, I don't know, but I'd be willing to risk it. However, sys.exit() still freezes my window rather than closing it, with this output in IDLE:freezes what window? Your IDLE editing window? Your IDLE shell? Your Pygame window?
Pygame window. Sorry to be unclear.