Hi Greg,
Try this (next time try solving yourself first and post what you've
done and specific problems you're having trouble with.):
import csv
# read data using csv reader...
fileobj = open('text_data.txt')
csvreader = csv.reader(fileobj, delimiter=';')
csvreader.next() # skip header
# store
On 22/07/2012 23:33, Gregory Lund wrote:
Only my second try to post to this list.
This is a dumb question with a simple (I presume) solution...
but...
how do I take a txt file with semicolon separated values and create a
dictionary and a list?
( in 2.6 because I'm working with ArcGIS.)
text file
Only my second try to post to this list.
This is a dumb question with a simple (I presume) solution...
but...
how do I take a txt file with semicolon separated values and create a
dictionary and a list?
( in 2.6 because I'm working with ArcGIS.)
text file is as follows: (saved as text_data.txt) (i