We use to read the remainder of the file's contents as a string from a file object infile.
A. infile.read is a programme that allows you to read files in a specific format (2)
B. infile.read is a programme that allows you to read files from a computer ()
C. infile.readline is a programme that allows you to read files in a specific format ()
D. infile.readlines is a programme that allows you to read lines from a file ()
Answer:B
We use to read the remainder of the file's contents as a string from a file object infile.
A. infile.read is a programme that allows you to read files in a specific format (2) B. infile.read is a programme that allows you to read files from a computer () C. infile.readline is a programme that allows you to read files in a specific format () D. infile.readlines is a programme that allows you to read lines from a file ()
Explanation: To read all of the lines in a file, use the read function.