[Tutor] Press ESC to exit()

Michael C mysecretrobotfactory at gmail.com
Mon May 1 14:12:42 EDT 2017

Hi all, I am trying to write a script to exit itself when ESC is pressed. I
have found several answers regarding it such as this:


But those only work when the program goes to that point.

Is there a way to write it so that it would run exit() even when the
program is in the


More information about the Tutor mailing list