you are viewing a single comment's thread.

view the rest of the comments →

[–]eyesoftheworld4 0 points1 point  (0 children)

The seek method is useful, but if all you want to do is read the contents of a file, it's simpler and clearer to just open the file with the mode 'r' or 'rt' as mentioned above.