title: Read txt file into list Python
body: <p>I am using this code to read a text file into a list.</p>
  
  <pre><code>with open("products.txt", "r") as f:
      test=f.read().splitlines()
  
  print(test)
  </code></pre>
  
  <p>The resulting output is:</p>
  
  <pre><code>['88888888,apple,0.50', '99999999,pear,0.20', '90673412,orange,1.20']
  </code></pre>
  
  <p>I need the output to look like below so I can reference the individual elements.</p>
  
  <pre><code>['88888888', 'apple', '0.50', '99999999', 'pear', '0.20', '90673412', 'orange', '1.20']
  </code></pre>