advent-of-code/2021
2022-12-09 11:43:00 -05:00
..
full Move 2022 and 2021 into place 2022-12-09 11:43:00 -05:00
python Move 2022 and 2021 into place 2022-12-09 11:43:00 -05:00
samples Move 2022 and 2021 into place 2022-12-09 11:43:00 -05:00
README.md Move 2022 and 2021 into place 2022-12-09 11:43:00 -05:00

Advent of Code 2021

to run any day:

  • make a virualenv python3 -m venv env
  • source it souce env/bin/activate
  • install deps pip install -r requirements.txt
  • run the day python day01.py
  • to run sample code pass --sample as the argument. python day01.py --sample, (nothing special just checks sys.argv[-1])

python day01.py --sample python day02.py --sample python day03.py --sample python day04.py --sample python day05.py --sample python day06.py --sample python day07.py --sample python day08.py --sample python day09.py --sample python day10.py --sample