I am currently learning Python 3 with the Zed Shaw's book, Learning Python 3 The Hard Way.
When doing exercise 20 about functions and files, you get tasked with researcher what does the seek function does. By searching online I've come across with a couple of concepts regarding this function that I'm having trouble getting my head around:
Here's an explanation I've found online about seek()'s purpose:
Python file method seek() sets the file's current position at the offset.
- Under this context, what would "The file's current position" mean?
Here's an explanation I've found online about tell()'s purpose:
Python file method tell() returns the current position of the file read/write pointer within the file.
- Under this context, what would "The file read/write pointer" mean?