My set of Python solutions for the Advent Of Code puzzles.
For day N, just run:
$ python -m advent_of_code YEAR N
For day N part 2:
$ python -m advent_of_code YEAR N 2
If you are still having problems to understand, this will retrieve the answer for day 8 part 2 for 2020:
$ python -m advent_of_code 2020 8 2
All of these scripts expect a text file input.txt
in the same module. You can just replace the content of these files...