如下所示: import os import struct import pandas as pd def readTdxLdayFile(fname="C:\\TdxW_HuaTai\\vipdoc\\sh\\lday\\sh701628.day"): dataSet=[] with open(fname,'rb') as fl: buffer=fl.read() #...