Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

is dictreader scoped in python

import csv
import sys

with open(sys.argv[1], mode='r') as csv_file:
    rows = list(csv.DictReader(csv_file))

for row in rows:
    print(row)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #dictreader #scoped #python
ADD COMMENT
Topic
Name
6+3 =