This commit is contained in:
2025-09-26 14:45:27 -03:00
parent eeeccaaaa8
commit 1b6e4b7b5e
13 changed files with 131 additions and 212 deletions

View File

@@ -3,10 +3,10 @@ import os
ROOT = os.path.abspath(os.path.dirname(__file__))
def get_file_path(name):
def get_file_path(name: str) -> str:
return os.path.join(ROOT, name)
def read_file_path(name):
def read_file_path(name: str) -> str:
with open(get_file_path(name)) as f:
return f.read()