7 lines
138 B
Python
7 lines
138 B
Python
with open('sample.py', 'r') as f:
|
|
while True:
|
|
s = f.readline()
|
|
if s == '':
|
|
break
|
|
print(s, end='')
|