This commit is contained in:
13002457275 2021-10-08 11:55:29 +08:00
parent d8091457b8
commit b2804b66ed
1 changed files with 0 additions and 1 deletions

View File

@ -1,5 +1,4 @@
#自动关闭文件
with open('mytest.txt') as file_in:
for line in file_in:
print(line)