(file: Path, text: str)
Adds text to a file
Adds text to a file
Adds text to a file
def append_text_to_file(file: Path, text: str) -> None:
    """
    Adds text to a file
    """
    with file.open("a") as fd:
        fd.write(f"\n{text}\n")
def append_text_to_file ( file : Path , text : str ) -> None : with file . open ( "a" ) as fd : fd . write ( f"\n{text}\n" )