adplus-dvertising
frame-decoration

Question

What is the use of seek() method in files?

a.

sets the file’s current position at the offset

b.

sets the file’s previous position at the offset

c.

sets the file’s current position within the file

d.

none of the mentioned

Posted under Python

Answer: (a).sets the file’s current position at the offset

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the use of seek() method in files?