Files
SaraView/Backend/Editor.py
T
2026-09-19 14:53:01 +02:00

9 lines
223 B
Python

from __future__ import annotations
from pathlib import Path
def WriteTextFile(FilePath: Path, Content: str) -> None:
"""Overwrite a text file's contents on disk."""
FilePath.write_text(Content, encoding="utf-8")