This is a template repository to use with advent of code
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 1a.py
:
from aoc import get_input
data = get_input(1).splitlines()
for line in data:
print(line)