title: Split text file into lines, Python
body: <p>I want to split a text file in python, using the following peice of code:</p>
  
  <pre><code>inputfile = open(sys.argv[1]).read()   
  for line in inputfile.strip().split("\n"):
      print line
  </code></pre>
  
  <p>the problem is, that it's read the first 12 lines only!! the file is large more than 10 thousand lines!</p>
  
  <p>What is the possible reason!</p>
  
  <p>Thanks,</p>