seekable()

seekable()
Returns ( Boolean )True or False. If the file is seekable then it returns True. Otherwise False
If return value is True, then we can use seek() to move postion of file object.
fob=open('data.txt','r')
print(fob.seekable()) # True
fob.close()
fob=open('data.txt','w')
print(fob.seekable()) # True
fob.close()
fob=open('data.txt','+r')
print(fob.seekable()) # True
fob.close()
writable()

File Append File Write

Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com



    Post your comments , suggestion , error , requirements etc here





    Python Video Tutorials
    Python SQLite Video Tutorials
    Python MySQL Video Tutorials
    Python Tkinter Video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2021 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer