From 042b10fe8d77b5245f6360cec56016066e103dac Mon Sep 17 00:00:00 2001 From: Tyrel Souza Date: Fri, 9 Dec 2022 11:46:30 -0500 Subject: [PATCH] readme --- 2021/README.md => README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) rename 2021/README.md => README.md (85%) diff --git a/2021/README.md b/README.md similarity index 85% rename from 2021/README.md rename to README.md index 8ef2545..50ffcc7 100644 --- a/2021/README.md +++ b/README.md @@ -1,11 +1,13 @@ -Advent of Code 2021 +Advent of Code + to run any day: - make a virualenv `python3 -m venv env` - source it `souce env/bin/activate` - install deps `pip install -r requirements.txt` -- run the day `python day01.py` +- cd to proper dir `cd 2022/python/` +- run the day `python3 day01.py` - to run sample code pass `--sample` as the argument. `python day01.py --sample`, (nothing special just checks sys.argv[-1])