1.

What is the difference between the write mode and append mode?

Answer»

Append mode write the value of row after the last line of the “student.csv file:”

The ‘w’ write mode creates a new file. If the file is already existing ‘w’ mode over writs it. Where as ‘a’ append mode add the data at the end of the file if the file already exists otherwise creates a new one.



Discussion

No Comment Found