Python Programming - Reading and Writing Files - Discussion

Discussion Forum : Reading and Writing Files - General Questions (Q.No. 8)
8.
What does the readline() method do in Python when working with files?
Reads the entire contents of the file
Reads one line from the file
Reads the first character of the file
Reads the last line of the file
Answer: Option
Explanation:
The readline() method is used to read a single line from the file.
Discussion:
Be the first person to comment on this question !

Post your comments here:

Your comments will be displayed after verification.