Skip to content

Commit e4500f4

Browse files
committed
python
1 parent 0e1fca4 commit e4500f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

day32(seek tell).py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
with open('file.txt','r') as f:
77
print(type(f))
88
f.seek(11) #move 11 byte in the file
9-
print(f.tell())
9+
print(f.tell()) # ye current postion return kr dega
1010
data =f.read(5) # wha se next 5 character read karega
1111
print(data)
1212

0 commit comments

Comments
 (0)