2023-12-04 22:29:47 +01:00
2023-12-02 14:09:24 +01:00
2023-12-02 16:22:12 +01:00
2023-12-03 21:07:11 +01:00
2023-12-04 22:29:47 +01:00
2023-12-01 18:08:51 +01:00
2023-12-02 00:08:23 +01:00
2023-12-02 00:08:23 +01:00
2023-12-01 18:07:22 +01:00

advent of code 2023

Solutions for the advent of code 2023

how to get input data

  • python aocd library
    • Get the puzzle for day two: puzzle = Puzzle(year=2023, day=1)
    • Submit a solution for day two part a: submit(answer, part='a', day=1, year=2022)

how to add a session token

  • After a successful login extract your session token from your browser
  • Create a .env file and make sure to export the environment variable below
  • The lib will outomatically work if the environment variable is present
  • Pipenv automatically loads .env files
$ cat .env
export AOC_SESSION="53616c..."

how to get a pipenv shell

$ pipenv install
$ pipenv shell
Description
No description provided
Readme 46 KiB
Languages
Python 100%