那“不在”呢?:
if 'p4port' not in line:
labels.append(line)
if '@' in line and line == l and 'p4port' not in line:
lineMatch = True
labels.append(line.strip('\n').split('@')[1] + '<br>\n')
除非Python中的语句
那“不在”呢?:
if 'p4port' not in line:
labels.append(line)
if '@' in line and line == l and 'p4port' not in line:
lineMatch = True
labels.append(line.strip('\n').split('@')[1] + '<br>\n')