> I've come to the conclusion that I like the seemingly SQL'ish > alternative to the 'if' statement above: > > if p in ('Q','q',''): > sys.exit() Or even: if p in 'Qq ': sys.exit() saves a few quote signs... Alan g.