From bf6d87606a74a38d00827f213cfb6f6d3373ea43 Mon Sep 17 00:00:00 2001 From: Valentin Ochs Date: Tue, 26 Nov 2019 00:34:19 +0100 Subject: [PATCH] Fix typo --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 8921482..40e84a7 100644 --- a/README.md +++ b/README.md @@ -261,7 +261,7 @@ os.listdir("/") print( open("/boot.py").read() ) # Write to a file. Deletes existing content. -f = open("data.txt", "a") +f = open("data.txt", "w") f.write("Hello ") f.close()