From e1d3558c507e9d4daff9ce0ea86f943bd581e192 Mon Sep 17 00:00:00 2001 From: Stefan Harmuth Date: Sun, 12 Nov 2023 19:39:06 +0100 Subject: [PATCH] AoC 2023 prep --- README.md | 17 +---------------- main.py | 2 +- start_day.py | 2 +- 3 files changed, 3 insertions(+), 18 deletions(-) diff --git a/README.md b/README.md index 59a23c9..fbf608f 100644 --- a/README.md +++ b/README.md @@ -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 ` - -# Not using PyCharm? - -Just comment out the call() to CHARMS near the end of start_day.py +# aoc2ß23 diff --git a/main.py b/main.py index c02586c..0df5f33 100644 --- a/main.py +++ b/main.py @@ -5,7 +5,7 @@ import argparse import importlib import os -YEAR = 2018 +YEAR = 2023 TIMEIT_NUMBER = 50 argument_parser = argparse.ArgumentParser() diff --git a/start_day.py b/start_day.py index aa8d394..beec438 100644 --- a/start_day.py +++ b/start_day.py @@ -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'