f9ab5ccc7640096a4b4b848a13da583cca2e62bf
advent of code 2022
Solutions for the advent of code 2022
how to get input data
- python aocd library
- Get the puzzle for day two:
puzzle = Puzzle(year=2022, day=2) - Submit a solution for day two part a:
submit(answer, part='a', day=2, year=2022)
- Get the puzzle for day two:
how to add a session token
- After a successful login extract your session token from your browser
- Create a
.envfile and make sure to export the environment variable below - The lib will outomatically work if the environment variable is present
Pipenvautomatically loads.envfiles
$ cat .env
export AOC_SESSION="53616c..."
how to get a pipenv shell
$ pipenv install
$ pipenv shell
Description
Languages
Python
100%