InterviewSolution
Saved Bookmarks
| 1. |
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» The correct choice is (a) tells you the current position within the file Easy 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. |
|