Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Python by (2.2k points)

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

1 Answer

0 votes
by (3.9k points)

The correct answer to the question “What is the use of tell() method in Python” is option (a). Tells you the current position within the file. As tell() method lets you know the current position within the file. As that will help in determining where the next read or write will occur at that many bytes from the beginning of the file.

Excited to learn Python? Check out the Python training course from Intellipaat and watch the following video on Python Online Course to have a better understanding.

Related questions

Browse Categories

...