5 lines
72 B
Python
5 lines
72 B
Python
with open('test.txt', 'r+b') as f:
|
|
b = f.read(10)
|
|
print(b)
|
|
|
with open('test.txt', 'r+b') as f:
|
|
b = f.read(10)
|
|
print(b)
|
|
|