What are the different file processing modes supported by Python?

Hi, What are the different file processing modes supported by Python

3 Likes
  • “ r “, mode for reading the file.
  • “ w “, mode for writing the file.
  • “ a “, mode for appending into existing file.
  • “ r+ “, hybrid mode for both reading and writing the file.