title: Import txt file and having each line as a list
body: <p>I'm a new Python user.</p>
  
  <p>I have a txt file that will be something like: </p>
  
  <pre><code>3,1,3,2,3
  3,2,2,3,2
  2,1,3,3,2,2
  1,2,2,3,3,1
  3,2,1,2,2,3
  </code></pre>
  
  <p>but may be less or more lines.</p>
  
  <p>I want to import each line as a list.</p>
  
  <p>I know you can do it as such:</p>
  
  <pre><code>filename = 'MyFile.txt' 
  fin=open(filename,'r')
  L1list = fin.readline()
  L2list = fin.readline()
  L3list = fin.readline()
  </code></pre>
  
  <p>but since I don't know how many lines I will have, is there another way to create individual lists?</p>