On 05/24/2013 09:59 AM, sloan...@gmail.com wrote:

             <SNIP massive double-spaced nonsense from googlegroups misuse,
         see   http://wiki.python.org/moin/GoogleGroupsPython >


  print PE2.format(count)

Thanks for the tip about the CSV module.  I did not know about that.

So why aren't you using it? There's not much point in solving "the newlines problem" if you're going to later switch to a library which doesn't have the problem. The csv module will eliminate the newlines, and the commas, organizing your data for you directly (assuming this really is a csv file, and that the separator is comma). None of your present code seems to believe it's a csv file, so maybe that's just a misdirection.




--
DaveA
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to