Append mode and open mode are same or not???
append mode is another name of open mode??
Answers
Answered by
0
Answer:
No append mode and open aren't same.
Open allows you to open a file as for example:
open("file.txt", 'a')
Open is just for the sake of making the file available to have operations performed on it and the kind of operation that you want to be performed is decided by file mode which includes,
read, write , append and other varying versions of these three.
Appends used to add data to file and you can't use it unless the file is open.
Similar questions