python 读取文件第一列 空格隔开的数据
file=open('6230hand.log','r') result=list() for c in file.readlines(): c_array=c.split(" ") # result.append(c_array[0]) print(c_array[0]) #print(result)
file=open('6230hand.log','r') result=list() for c in file.readlines(): c_array=c.split(" ") # result.append(c_array[0]) print(c_array[0]) #print(result)