111
This commit is contained in:
parent
b2804b66ed
commit
b8e1e75462
|
@ -1,4 +1,5 @@
|
|||
#自动关闭文件
|
||||
with open('mytest.txt') as file_in:
|
||||
|
||||
for line in file_in:
|
||||
print(line)
|
Loading…
Reference in New Issue