summaryrefslogtreecommitdiffstats
path: root/20/py/d03.py
diff options
context:
space:
mode:
Diffstat (limited to '20/py/d03.py')
-rw-r--r--20/py/d03.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/20/py/d03.py b/20/py/d03.py
index 40b6b6c..4b4fe5b 100644
--- a/20/py/d03.py
+++ b/20/py/d03.py
@@ -1,4 +1,5 @@
#!/usr/bin/env python3
+import aoc20
import sys
@@ -51,7 +52,6 @@ def pt2(_in):
if __name__ == "__main__":
- input = open("../input/03", "r").readlines()
- #input = [line for line in sys.stdin]
+ input = aoc20.read_input(sys.argv[1:], 3)
print(pt1(input))
print(pt2(input))