Skip to content

Commit f467adc

Browse files
authored
Update 19_file_handling.md
1 parent c6b8030 commit f467adc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

19_Day_File_handling/19_file_handling.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ with open('./files/reading_file_example.txt') as f:
166166

167167
To write to an existing file, we must add a mode as parameter to the _open()_ function:
168168

169-
- "a" - append - will append to the end of the file, if the file does not it creates a new file.
169+
- "a" - append - will append to the end of the file, if the file does not exist it creates a new file.
170170
- "w" - write - will overwrite any existing content, if the file does not exist it creates.
171171

172172
Let us append some text to the file we have been reading:

0 commit comments

Comments
 (0)