Vidyalelo
Python · Q6

Files Handling in Python

Programming · Python · question 6

Q6

What is the purpose of the seek() method in file handling?

A.
It changes the file position to a specified offset
Answer
B.
It searches for a string in the file
C.
It appends data to the end of the file
D.
It reads a specific line

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board