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


plus2net.com



Post your comments , suggestion , error , requirements etc here




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