In this lesson, students learn how to manipulate the file pointer position using the seek()
and tell()
methods in Python. They will explore how seek()
can be used to move the pointer to a specific location within a file, enabling operations at desired positions.
Students will be able to:
tell()
method to return the location of the file pointerseek()
method to move the file pointer to a specific position within a fileThese are all the activities included in the lesson