readme
This commit is contained in:
parent
2c8e8eecb8
commit
042b10fe8d
@ -1,11 +1,13 @@
|
|||||||
Advent of Code 2021
|
Advent of Code
|
||||||
|
|
||||||
|
|
||||||
to run any day:
|
to run any day:
|
||||||
|
|
||||||
- make a virualenv `python3 -m venv env`
|
- make a virualenv `python3 -m venv env`
|
||||||
- source it `souce env/bin/activate`
|
- source it `souce env/bin/activate`
|
||||||
- install deps `pip install -r requirements.txt`
|
- 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])
|
- to run sample code pass `--sample` as the argument. `python day01.py --sample`, (nothing special just checks sys.argv[-1])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user