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.