File Access Modes in Python:
1. Read Only ('r') : Read mode which is used when the file is only being read.This is also the default mode in which file is opened.
2. Write Only ('w') : Erase and write to a file.
3. Read and Write ('r+') : Open the file for reading an...
See more
Download the Study24x7 App, so you can connect and collaborate.