

McqMate
Q. |
What is the use of tell() method in python? |
A. | tells you the current position within the file |
B. | tells you the end position within the file |
C. | tells you the file is opened or not |
D. | none of the mentioned |
Answer» A. tells you the current position within the file | |
Explanation: the tell() method tells you the current position within the file; in other words, the next read or write will occur at that many bytes from the beginning of the file. |
View all MCQs in
Problem Solving and Python ProgrammingNo comments yet