Skip to content

Josh-Cena/aoc2020

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advent of Code 2020

Language: Python (3.9) Package Manager: pip with venv

You first need to start the virtual environment:

python3.9 -m venv aoc2020-env
source aoc2020-env/bin/activate

The only dependencies are numpy and tqdm.

This repo uses my standard AoC setup. Inputs are stored as inputs/day{n}/{name}.txt. By default name is real (the real question). To run a specific day's solution, use the following command:

python -m aoc2020 {day} {part} {name}

For example, to run the solution for day 1, part 2 with the example input:

python -m aoc2020 1 2 ex

(And make sure that inputs/day1/ex.txt exists.)

About

Proof that I can write crappy Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages