mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-02-20 23:45:05 +00:00
10 lines
246 B
Python
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
|