Thursday, January 13, 2011

Python ready made scripts !!!

http://code.activestate.com/recipes/577444-get-columns-of-data-from-text-files/?in=lang-python

Read in a tab-delimited (or any separator-delimited like CSV) file and store each column in a list that can be referenced from a dictionary. The keys for the dictionary are the headings for the columns (if any). All data is read in as strings.