2019 day 6 and 7

This commit is contained in:
2024-08-03 16:31:06 -04:00
parent 9718165d7b
commit 6f71ed1717
5 changed files with 209 additions and 4 deletions

1
lib.py
View File

@@ -275,6 +275,7 @@ def get_data(filename):
return f.read()
else:
import subprocess
subprocess.call(["../get.py", year, day])
assert os.path.isfile(txt_file), "Could not download AoC file"
with open(txt_file) as f: