📅  最后修改于: 2022-03-11 14:46:38.352000             🧑  作者: Mango
inRecordingMode = False
for line in file:
if not inRecordingMode:
if line.startswith(''):
inRecordingMode = True
elif line.startswith(''):
inRecordingMode = False
else:
yield line