title: Python - txt file into a list
body: <p>I'm trying to read a file and to save the text inside as a list containing strings,
  (each object in the list is a string which is one line in the text)
  i only managed to print out the text line by line , and not as a list.</p>
  
  <p>the text is a long list of biological stuff (random letter if you ask me (:)
  and-</p>
  
  <pre><code>    def read_proteome ( filename ):
         f= open(filename).readlines()
         for line in f:
            print(line)
  </code></pre>
  
  <p>only printed the file (did seperated the lines..)</p>
  
  <p>where did i go wrong ?
  how do i set it into a list ?</p>