Examveda
Examveda

To read the entire remaining contents of the file as a string from a file object infile, we use . . . . . . . .

A. infile.read(2)

B. infile.read()

C. infile.readline()

D. infile.readlines()

Answer: Option B


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

Join The Discussion

Related Questions on Files Handling in Python