A simple template for an https://adventofcode.com/ code runner
- Create a new repo with this template
- Once you have the repo cloned down, you can run
aoc.py
with any Python>3.7 - Create a new day with
python aoc.py -c 1
This will create aday1
folder - In that folder, place your part 1 code inside the
part1
function - Run
python aoc.py
to run the most recent days solutions
You can run all days solutions in series with python aoc.py --all
You can also run a specific days solution with python aoc.py --run <day_num>