Python raw_input following sys.stdin.read() throws EOFError
<p>a similar question has been asked <a href="http://stackoverflow.com/questions/6833526/python-user-input-eof-error-question-with-sys-stdin-readlines">before</a>, but the answers suggested a workaround which is not applicable to my situation.</p>

<p>An email message is piped from mutt to a script, and is read from STDIN:</p>

<pre><code>message = sys.stdin.read()
# message is parsed and URLs are printed as a list to choose from...
selected_index = raw_input('Which URL to open?')
</code></pre>

<p>I understand that raw_input() will get the EOF left by read(), but is there a way to 'reset' STDIN?</p>
