python-CSD-kursu/python-temel/f.read.py
2023-08-24 11:58:58 +03:00

4 lines
65 B
Python

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