Definition
The seekable() method returns True if the file is seekable, False if not.
Syntax
file.seekable()
Parameters
No Parameters.
Examples:
f = open("myFile.txt", "r")
print(f.seekable())
The seekable() method returns True if the file is seekable, False if not.
file.seekable()
No Parameters.
f = open("myFile.txt", "r")
print(f.seekable())