Solutions to (some) Advent of Code challenges written in Python
.
Python 3.10
Pipenv
First generate the boilerplate code:
$ python aoc.py [year] [day] generate --author "Firstname Lastname"
Implement the solutions for part A and B and add the test case to ./[year]/[day]/testcase.txt
(needs to be manually copeid from AoC website).
To test the solutions run:
$ python aoc.py [year] [day] test
Finally, run the following command to solve and submit using the real data.
Important: follow the instructions here on how to add your AoC session cookie to your local machine.
$ python aoc.py [year] [day] solve --submit
Distributed under the MIT License. See LICENSE.txt
for more information.