title: `choice == 1` is False even when user enters "1"
body: <p>I am starting to learn python. I have gone through several tutorials and now I am trying to write my first script. It is a simple console menu. I am running Python 2.6.5 under cygwin.</p>
  
  <p>Here is my script:</p>
  
  <pre><code>import sys
  
  print "********************************************************************"
  print "**  1) This is menu choice #1                                     **"
  print "**                                                                **"
  print "**                                                                **"
  print "**                                                                **"
  print "**                                                                **"
  print "**                                                                **"
  print "********************************************************************"
  print
  print "Choice ?"
  
  choice = sys.stdin.readline()
  
  print "You entered: " + choice
  
  if choice == 1:
      choice1 = sys.stdin.readline()
      print "You entered:" + choice1
  else:
      quit()
  
  print "Exiting"
  </code></pre>
  
  <p>When I run the script, I get to the Choice? prompt. I enter 1 and I get the "You entered:" message and then the script exits without displaying the "Exiting" message.</p>
  
  <p>Seems like it should be so easy. Thanks in advance for any help.</p>