![]() Append Only (‘a’): Open the file for writing.The handle is positioned at the beginning of the file. For an existing file, data is truncated and over-written. Write and Read (‘w ’) : Open the file for reading and writing.Creates the file if the file does not exist. For the existing files, the data is truncated and over-written. Write Only (‘w’) : Open the file for writing.Raises I/O error if the file does not exist. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |