📅  最后修改于: 2022-03-11 14:45:34.370000             🧑  作者: Mango
代码示例1
#!/usr/bin/env python3
with open('input.txt', 'r') as myfile:
for line in myfile:
print(line)
print('Outside the with block')