diff options
Diffstat (limited to 'wk6/pset/dna')
-rw-r--r-- | wk6/pset/dna/dna.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/wk6/pset/dna/dna.py b/wk6/pset/dna/dna.py index 2089add..93b6c67 100644 --- a/wk6/pset/dna/dna.py +++ b/wk6/pset/dna/dna.py @@ -18,7 +18,11 @@ def main(): return # TODO: Read database file into a variable - + rows = [] + with open("foo.csv") as file: + reader = csv.DictReader(file) + for row in reader: + rows.append(row) # TODO: Read DNA sequence file into a variable |