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

To read the entire remaining contents of the file as a string from a file object infile, we use
infile.read()
Good Your Answer is Correct
infile.read()
infile.readline()
infile.readlines()

Leave a Reply

Your email address will not be published. Required fields are marked *