Initialer Import der Synology Scripts

This commit is contained in:
root
2026-08-05 08:43:57 +02:00
commit 5e32a7c411
404 changed files with 79932 additions and 0 deletions
@@ -0,0 +1,14 @@
input_filepath = "C:/Users/Jan/OneDrive/_Coding/UdemyPythonIntro/Chapter4_Intermediate/test.txt" # noqa: E501
output_filepath = "C:/Users/Jan/OneDrive/_Coding/UdemyPythonIntro/Chapter4_Intermediate/test_out.txt" # noqa: E501
with open(input_filepath) as file:
content = file.readlines()
print(content)
content.append("Tom Tomerson\n")
with open(output_filepath, "w") as file:
file.writelines(content)