venture of iit bombay vjti alumni the tell(method tells you the current position within the filein other wordsthe next read or write will occur at that many bytes from the beginning of the file the seek(offset[from]method the offsetargument indicates the changes number the current of bytes file to be position moved the from argument specifies the reference position from where the bytes are to be moved if from is set to it means use the beginning of the file as the reference position and means use the current position as the reference position and if it is set to then the end of the file would be taken as the reference position example let us take file foo txtwhich we created above #!/usr/bin/python open file fo open("foo txt"" +"str fo read( )print "read string is "str