title: Python command line 'file input stream'
body: <p>I'm fairly new to python coming from C/C++, I was wondering how I would get my 'main.py' to reconize/use the imput given from a bash shell as:</p>
  
  <blockquote>
    <p>python main.py &lt; text.txt </p>
  </blockquote>
  
  <p>(the file is in plain text)</p>