What does the seek() method in Python do when working with files?

1
Searches for a specified string in a file
2
Moves the file pointer to a specified position
3
Seeks permission from the operating system to access the file
4
Checks if the file pointer has reached the end of the file

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation