advent_of_code_2025/python/utils/load.py

4 lines
175 B
Python

from pathlib import Path
def get_input(day_number: int) -> str:
return Path(__file__).parents[2].joinpath("inputs", f"day{day_number:02}.txt").read_text(encoding="utf-8")