打开文件、逐行处理、未完
#-*- coding: UTF-8 -*-
f=open("08.log")
i=1
while i<200:
lines=f.readlines(200)
if not lines:
break
for line in lines:
i= i+1
print(line)
print(line.split(' '))
print(line.split(' ')[3]+'----------'+line.split(' ')[7])
f.close()