This blog is available for sale. More than 150 published articles. Please 'contact us' if interested.
Advertise with us
Python Multiple Choice Questions
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
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.
© 2022-2023 Python Circle