We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e1fca4 commit e4500f4Copy full SHA for e4500f4
day32(seek tell).py
@@ -6,7 +6,7 @@
6
with open('file.txt','r') as f:
7
print(type(f))
8
f.seek(11) #move 11 byte in the file
9
- print(f.tell())
+ print(f.tell()) # ye current postion return kr dega
10
data =f.read(5) # wha se next 5 character read karega
11
print(data)
12
0 commit comments