Advent of Code


You can use AoC-Input-Downloader to download the input for specific day and year.

Make a .env file with a AOC_SESSION key and a value of your Session found in Storage Dev Console.

python3 Aoc-Input-Downloader 2 2021

General tips

  • Use pydoc to discover or understand functions.
python3 -m pydoc str.strip

or to start a server

python3 -m pydoc -b
  • Use pytest.
assert pow(5,2) == 25
  • Use builtin debug tool pdb.