title: Python comma delimiting a text file
body: <p>I am learning python at the moment and I have a text file with lots of numbers separated by a newline (\n) like:</p>
  
  <p>5
  100
  7
  83</p>
  
  <p>What's the easiest way to read/write into a new text file putting the numbers into a comma delimited format like:</p>
  
  <p>5, 100, 7, 83</p>