@onrender wrote:
Hello,
I would like to use data (text, numbers) from CSV and organize everything into a dictionary. "import csv" standard python function does not work. Is only the rs.OpenFileName() the way?
import csv reader = csv.DictReader(open('test.csv')) result = {} for row in reader: for column, value in row.iteritems(): result.setdefault(column, []).append(value) print resultEDIT:
Ok, I found answer that it does not exist in IronPython; http://www.ironpython.info/index.php?title=Reading_CSV_Files, now looking for solution
Posts: 6
Participants: 3
