Check sibling questions

Differentiate between file modes r + and rb + with respect to Python.

 

Answer:

r +

rb +

Opens a file for both reading and writing

Opens a file for both reading and writing in binary format. 

The file pointer will be at the beginning of the file. 

The file pointer will be at the beginning of  the file.   

Introducing your new favourite teacher - Teachoo Black, at only ₹83 per month

CA Maninder Singh's photo - Expert in Practical Accounts, Taxation and Efiling

Made by

CA Maninder Singh

CA Maninder Singh is a Chartered Accountant for the past 12 years. He also provides Accounts Tax GST Training in Delhi, Kerala and online.