Programming and Problem Solving through Python : File Processing in Python

फाइलों में seek() फंक्शन का क्या उपयोग है? , What is the use of seek() method in files?

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




Solution
A. sets the file's current position at the offset



Explanation
In Python, the seek() method is used to change the current file position or cursor position within a file. The file position is the position where the next read or write operation will occur. The seek() method allows you to move the cursor to a specified offset within the file.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Exam Quiz Website development Company in Allahabad