myfile2=open(\'e:/enterprise.xlsx\',mode = \'r\')
file2_cOntent=myfile2.readlines()
print(file2_content)
myfile2=open(\'e:/enterprise.xlsx\',encoding = \'gb18030\',mode = \'r\') #添加编码方式:gb18030
file2_cOntent=myfile2.readlines()
print(file2_content)
myfile2=open(\'e:/enterprise.xlsx\',encoding = \'utf-8\',mode = \'r\') #编码方式调整为:uft-8
file2_cOntent=myfile2.readlines()
print(file2_content)
myfile2=open(\'e:/enterprise.xlsx\',mode = \'r\',errors = \'ignore\') #errors 忽略
file2_cOntent=myfile2.readlines()
print(file2_content)