This repo contains my answers for Days 16 and up of AoC 2022. This is a result of my complete failure to do them on time in Rust and needing something I know more intimately.
When cd:ed into this repo, run;
$ python -m aoc
This will ask you for your session cookie (which can be found in the application tab in most browsers devtools when on adventofcode.com).
In [day_nr].py
:
from aoc import get_input
# get_input(x) returns a string of the complete input for day x of year specified in year.txt
data = get_input(1).splitlines()
for line in data:
print(line)