File Random Access : File seek : File PYTHON examples


PYTHON examples » File » File seek »

 

File Random Access




f = open(r'c:textsomefile.txt', 'w')
f.write('01234567890123456789')
f.seek(5)
f.write('Hello, World!')
f.close()
f = open(r'c:textsomefile.txt')
f.read()


           
       



Leave a Comment / Note


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


PYTHON examples

 Navioo File
» File seek