Hello! For instance: def hello(): n = raw_input('your name?>>') if n == 'q': sys.exit() print 'hello ' + n hello() How to replace "if" conditional with single press on "Esc" key? Would it be the same solution in unix? Thank you Djuro