2026-01-17 14:40:03 +01:00

10 lines
246 B
Python

def read_file(path: str):
with open(path, "r") as file:
result = file.read()
return result
def write_file(path: str, content: str):
with open(path, "w") as file:
result = file.write(content)
return result