[ANN] csv2txt.py csv file convertion script

P

Paddy McCarthy

csv2text is a program I wrote to illustrate a point I made on comp.lang.python
about not just creating great Python modules, or Python programs, but of doing
both at the same time.
This program makes the CSV module of Python more accessible by creating a
program 'filter' that guesses and parses a csv file type on standard input
and generates different formats on standard output.

At the moment, output types are CSV, HTML (as an HTML table), and a text
format that is written to be easily parsed by tools such as TCL or AWK
that may not have such a powerful CSV reader module handy. The text format
has conversions to allow AWK to handle CSV files with fields that contain
embedded newlines (XL can generate that type of CSV file).

Homepage: http://www.paddyx.pwp.blueyonder.co.uk/csv2txt/README.html

Cheers, Paddy.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top