seek operation in python

siva sankari R buddingrose11 at gmail.com
Wed Apr 29 14:08:34 EDT 2015


file=open("input","r")
line=file.seek(7)
print line

The above code is supposed to print a line but it prints "none". I don't know where the mistake is. Help.!



More information about the Python-list mailing list