Examveda

How can you open a file for both reading and writing in Python?

A. By using the r+ mode

B. By using the rw mode

C. By using the readwrite mode

D. By using the rw+ mode

Answer: Option A


This Question Belongs to Python Program >> Files Handling In Python

Join The Discussion

Related Questions on Files Handling in Python