读取text行列


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

posted @ 2020-07-18 22:33  测试艺术家  阅读(144)  评论(0编辑  收藏  举报