On 08/29/2010 02:12 PM, aenea...@priest.com wrote: > > Hi, > > I'm learning Python so I can take advantage of the really cool stuff in the > Natural Language Toolkit. But I'm having problems with some basic file > manipulation stuff. > > My basic question: How do I read data in from a csv, manipulate it, and then > add it back to the csv in new columns (keeping the manipulated data in the > "right row")? > > Here's an example of what my data looks like ("test-8-29-10.csv"):
Python has a great module in the standard library - csv. It's really easy to use. http://docs.python.org/library/csv.html Greg _______________________________________________ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options: http://mail.python.org/mailman/listinfo/tutor