''' This code use python file syntax ''' ''' Read data from file seek position pointer seek n'th byte, then start read data ''' directory="C:/pythonFile.txt" n=10 f=open(directory,'r') f.seek(n) for line in f.readlines(): print line f.close()
Output:
0 comments:
Post a Comment