python-CSD-kursu/python-temel/f.read.b.py
2023-08-26 21:56:01 +03:00

5 lines
72 B
Python

with open('test.txt', 'r+b') as f:
b = f.read(10)
print(b)