How file pointer position can be changed?

How file pointer position can be changed?
Ans.-    In the real world application , sometimes we need to change the pointer location externally since we may need to read or write the content at various locations .
For this purpose, the python provide us the seek() method which enables us to modify the file pointer position externally.
Syntax:-
<file-ptr>.seek(offset[,from])
It consist of two parameters
Offset: It refers to the new position of the file pointer within the file.
From : It indicates the reference position from where the bytes are to be moved.