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?
Traceback (most recent call last): File "C:\Program Files\Python\pygame_test.pyw", line 15, in -toplevel- sys.exit() SystemExit
Am I doing something wrong here?
I'll definitely be trying out Scite, too -- thanks Alan.
-Morgan