title: Skip first line with Python stdin?
body: <p>I would like to read lines from the python stdin implementation. so far I have:</p>
  
  <pre><code>for line in sys.stdin:
      process line
  </code></pre>
  
  <p>but I would like to skip the first line that is supplied. </p>
  
  <p>Python has a method for this when using the fileinput implementation which returns true if it is the first line and false otherwise</p>
  
  <pre><code>fileinput.isfirstline()
  </code></pre>
  
  <p>Ideally there would be something like that for stdin where I could go:</p>
  
  <pre><code>if sys.stdin.isfirstline():
       process(first line)
  else:
       process everthing else
  </code></pre>
  
  <p>Is there a way to do this?</p>
  
  <p>Thanks</p>