We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6b8030 commit f467adcCopy full SHA for f467adc
1 file changed
19_Day_File_handling/19_file_handling.md
@@ -166,7 +166,7 @@ with open('./files/reading_file_example.txt') as f:
166
167
To write to an existing file, we must add a mode as parameter to the _open()_ function:
168
169
-- "a" - append - will append to the end of the file, if the file does not it creates a new file.
+- "a" - append - will append to the end of the file, if the file does not exist it creates a new file.
170
- "w" - write - will overwrite any existing content, if the file does not exist it creates.
171
172
Let us append some text to the file we have been reading:
0 commit comments