views:

78

answers:

3

I need to develop a script, with input csv file, this file contains multiple headers [headers are language(fr,en,...) specific] and between headers there will be specific data - you can say we've have a well defined CSV template,

which will be parsed and will be converted to a specific pydict-dictionary and then this dictionary will be passed to an existing xmlrpc web services,

what I want to know is, is there any third party CSV parser are available for python? and what will be the best way to develop such script

+10  A: 

Python comes with batteries included. Use the csv module.

Marcelo Cantos
+1  A: 

Why do you think you need a third-party CSV parser for this job? Why isn't the included csv module suitable?

John Machin
+1  A: 

The python docs for the csv module are quite good. In addition, the PyMOTW introduction by Doug Hellman might help you get started.

ars