Read with index : Read : File PYTHON TUTORIALS


PYTHON TUTORIALS » File » Read »

 

Read with index


f = open(r'c:test.txt')
print f.read(7)
print f.read(4)
f.close()

f = open(r'c:test.txt')
print f.read()
f.close()



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


PYTHON TUTORIALS

 Navioo File
» Read