Advent of Code 2022 is over. Here you can find my solutions.
- Inputs:
./input
- Code:
./solutions
Main.py
reads input from ./input/<day>.txt
file by default. You can specify a custom input file with -i
.
usage: main.py [-h] [-d DAY] [-i INPUT] [-t]
options:
-h, --help show this help message and exit
-d DAY, --day DAY Number of day (from 1 to 25)
-i INPUT, --input INPUT
Relative path to custom input file
-t, --test Use test data
example:
python3 main.py -d 6
python3 main.py -d 9 -i ./path/to/input/file.txt