Seeking in files PREMIUM

Series: Files
Trey Hunner smiling in a t-shirt against a yellow wall
Trey Hunner
5 minute read Python 3.7—3.10

What does it mean to seek in a file?

Python keeps track of your file position

Here we have a text file called my_file.txt:


A Python Tip Every Week

Need to fill-in gaps in your Python skills? I send weekly emails designed to do just that.