I don't know if this is what you're looking for, but in my game I set Running = 1, and then had: if event.key == K_q: running = 0
... which exits the game as soon as you hit q (i.e., no hitting enter). I can send the full code if it would be more helpful, if this is what you're talking about? ~Denise ---------- Forwarded message ---------- From: Joseph Quigley <[EMAIL PROTECTED]> Date: May 4, 2005 8:54 AM Subject: [Tutor] No Need to press Enter (Joseph Quigley) To: Tutor@python.org What is the secret to have the user press the "Q" key, and the program exits without pressing the "Enter" key? Or the "Control" and "Q" keys to exit? For the Macintosh, would the same command/s for "Control Q" keys be the same as the "Apple Q" key? Thanks, JQ _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor