Append Only ('a’): This mode allows the file to be opened for writing.The start of the file is where the handle is located. The text is overwritten and deleted from an existing file. Write and Read ('w+’): This mode opens the file for both reading and writing.If the file does not already exist in the folder, a new one gets created. The data in existing files are modified and overwritten.
0 Comments
Leave a Reply. |