python-CSD-kursu/python-temel/f.readline.py
2023-08-24 12:05:21 +03:00

7 lines
138 B
Python

with open('sample.py', 'r') as f:
while True:
s = f.readline()
if s == '':
break
print(s, end='')