csvcool 0.3.3

Cool way to deal with 'headed' CSV
csvcool is a Python utility that provides a cool way to deal with 'headed' CSV.

Rules of the parser
 1 - First row is a list of column names. 2 - All rows have the same numbers of columns. 3 - Empty column names are ignored. 4 - Columns without name are ignored.

Example:

 name0 name1 name3
 v0 v2 v3 v4

Equivalent:

 name0 name1 name3
 v0 v2

Use:

 >>> import csvcool
 >>> cool = csvcool.read(open("path/to/csv"))
 >>> cool[0]["name0"]
 v0
 >>> cool[0]["name0"] = 1
 >>> cool[0]["name0"]
 1
 >>> csvcool.write(cool, open("path/to/csv", "w"))

last updated on:
August 28th, 2012, 23:36 GMT
price:
FREE!
developed by:
JBC
homepage:
bitbucket.org
license type:
GPL v3 
category:
ROOT \ Utilities

FREE!

In a hurry? Add it to your Download Basket!

user rating 1

5.0/5
 

0/5

Add your review!

SUBMIT