AoC 2023 prep

This commit is contained in:
Stefan Harmuth 2023-11-12 19:39:06 +01:00
parent 80cc9447bd
commit e1d3558c50
3 changed files with 3 additions and 18 deletions

View File

@ -1,16 +1 @@
# aoc_template
Template for yearly AoC-Repositories
# Usage
- Clone repository (or use as template in gitea)
- Run `pip install -r requirements.txt`
- Update main.py and start_day.py: set YEAR (near the top) to the respective year
- Create a file named ".session" next to your main.py containing the contents of your aoc-session cookie
On a given day, just call `./start_day.py -d <day_of_month>`
# Not using PyCharm?
Just comment out the call() to CHARMS near the end of start_day.py
# aoc2ß23

View File

@ -5,7 +5,7 @@ import argparse
import importlib
import os
YEAR = 2018
YEAR = 2023
TIMEIT_NUMBER = 50
argument_parser = argparse.ArgumentParser()

View File

@ -8,7 +8,7 @@ from time import sleep
import webbrowser
YEAR = 2018
YEAR = 2023
CHARMS = {
'Linux': '/usr/local/bin/charm',
'Windows': r'C:\Users\pennywise\AppData\Local\JetBrains\Toolbox\scripts\pycharm.cmd'