Advertisements
Advertisements
Question
Which of the following functions changes the position of file pointer and returns its new position?
Options
flush ()
tell ()
seek ()
offset ()
MCQ
Advertisements
Solution
seek ()
Explanation:
The seek () function moves the file pointer to a given byte position.
shaalaa.com
Setting Offsets in a File in python
Is there an error in this question or solution?
