函数bug及处理
read_FFexcels报错
raise XLRDError('Unsupported format, or corrupt file: ' + msg)
XLRDError: Unsupported format, or corrupt file: Expected BOF record; found b'\tRui HUA'
处理:检查文件路径 存在临时文件 ~$
for root,dirs,files in os.walk(path):
print("-----------root--------")
print(root)
print("---------- dir--------")
for name in dirs:
file_name = os.path.join(root,name)
print(file_name)
print("-----------file---------")
for name in files:
file_name = os.path.join(root,name)
print(file_name)

浙公网安备 33010602011771号