summaryrefslogtreecommitdiff
path: root/wk6/pset/dna/test.py
diff options
context:
space:
mode:
Diffstat (limited to 'wk6/pset/dna/test.py')
-rw-r--r--wk6/pset/dna/test.py16
1 files changed, 0 insertions, 16 deletions
diff --git a/wk6/pset/dna/test.py b/wk6/pset/dna/test.py
deleted file mode 100644
index e540471..0000000
--- a/wk6/pset/dna/test.py
+++ /dev/null
@@ -1,16 +0,0 @@
-import csv, sys
-
-# Open the CSV file
-with open(sys.argv[1]) as csvfile:
- # Create a CSV reader object
- reader = csv.reader(csvfile)
-
- # Get the header (first line)
- header = next(reader)
-
- # Get the rest of the data
- data = list(reader)
-
-# Print the header and data to verify
-print("Header:", header)
-print("Data:", data)