06.12.2011 - import sys try: import tty, termios except ImportError: # Probably If the pressed key was a modifier key, nothing will be detected; if it were a .