Can I make a program reading from a piped stdin AND keyboard?
<p>Can I write a python program that read from a piped stdin and keyboard?</p>

<p>What I mean? I want to be able to use it in this way:</p>

<pre><code>tail -f LOGFILE | myscript.py
</code></pre>

<p>see the log lines appearing in the screen and type commands with the keyboard?</p>

<p>This sounds like 2 stdin and that confuse me. Is it possible or is it conceptually wrong?</p>

<p>Thanks!</p>
