Skip to content

Commit f689a6c

Browse files
committed
Level 4: Dateien: write_text
1 parent 02ee1fb commit f689a6c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Level_04/dateien.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929
# eine Datei schreiben
3030

31+
# schneller: (test_dir / Path("test.txt")).write_text("total toller Text")
3132
test = (test_dir / Path("test.txt")).open("w")
3233
test.write("total toller Text") # type: int
3334
# OUT: 17

0 commit comments

Comments
 (0)