This commit is contained in:
shao1chuan 2021-10-08 12:20:38 +08:00
parent b8e1e75462
commit 3c71825092
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)