template.py (150B) - raw
1 2 3 4 5
import os base_dir = os.path.realpath(os.path.dirname(__file__)) with open(base_dir + "/input.txt", "r") as file: input = file.read().rstrip()