title: Splitting a list and storing to CSV
body: <p>I'm having fun learning python but again need a bit of help. I've printed the output from the terminal to a txt.file, the output looks like this:</p>
  
  <p>//Reaction PRISM_solar_litho at 0x109cfa5f8//, //Reaction PRISM_solar_exo at 0x11cebe7b8//</p>
  
  <p>As you can see its a list of comma-separated reactions, there are ~2K reactions.</p>
  
  <p>I want to write some code that will split the list into individual reactions at the ',' so I can then store each reaction into a different row of a CSV.  Can you help me please?</p>
  
  <p>my code so far looks like this:</p>
  
  <pre><code>reactions_photo = []
  myfile = open("iCZ843_photo_reactions.txt")
  for line in myfile:
  line.split(',')
  myfile.close()
  </code></pre>
  
  <p>But how do I then store (append??) each reaction to the list of 'reactions_photo' and how do I print this to a CSV so that each reaction is on a new row?</p>
  
  <p>Thank you kindly.</p>
  
  <p>Stephen</p>