import csv
reader = csv.DictReader(open("test_csv.csv", "r"))

reader is not an actual dictionary from my understanding.. so I don't know
how to access properties like the 'total items' in the dictionary
I want to be able to extract a random dictionary entry from the csv file,
how can I do this by using the csv reader module? If I can't, then show me a
better way to do it then..


-thanks
_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to