Home »
MCQs »
Python MCQs
The seek() method is used to ___
68. The seek() method is used to ___.
- Saves the file in secondary storage
- Position the file object at a particular position in a file
- Deletes the file form secondary storage
- None of the mentioned above
Answer: B) Position the file object at a particular position in a file
Explanation:
The seek() method is used to position a file object at a specific location within a file's hierarchy.