title: What's wrong with raw_input() (EOFError: EOF when reading a line)
body: <p>I am using python 2.7.6, and when calling <code>raw_input()</code>, there is an exception:</p>
  <pre><code>flight_name = raw_input('\nEnter the name of Flight: ')
  </code></pre>
  <p>I found the solution, but why there appears such exception? Is it a bag?</p>
  <pre><code>try:
        flight_name = raw_input('\nEnter the name of Flight: ')
  except (EOFError):
        break
  </code></pre>