import sys
fname=‘D:\\egstar\\data/egstar_export/20200526163555.dat‘
# with open(fname, ‘r‘, encoding=‘utf-8‘) as f:
#     for line in f.readlines():
#         data = (line[:].split(‘,‘))
#         print(data[1])
#
https://blog.csdn.net/qq_41655933/article/details/90171537
读取行
result=[]
with open(fname,‘r‘) as f:
	for line in f:
		result.a
https://www.cnblogs.com/liuxia912/p/11918915.html
原文:https://www.cnblogs.com/zhenyu1/p/12967455.html