在python中从online.zip文件打开.xlsx或.ods

在python中从online.zip文件打开.xlsx或.ods,python,excel,zipfile,Python,Excel,Zipfile,我正在尝试从.zip文件联机打开数据文件.xlsx或.ods文件。.zip文件位于以下位置: 我尝试过使用Zipfile,但它无法访问.zip文件 zf = zp.ZipFile('http://archive.ics.uci.edu/ml/machine-learning-databases/00294/CCPP.zip') df = pd.read_excel(zf.open('CCPP/Folds5x2_pp.xlsx')) 我还尝试使用pandas的open_excel,它可以访问.

我正在尝试从.zip文件联机打开数据文件.xlsx或.ods文件。.zip文件位于以下位置:

我尝试过使用Zipfile,但它无法访问.zip文件

zf = zp.ZipFile('http://archive.ics.uci.edu/ml/machine-learning-databases/00294/CCPP.zip') 
df = pd.read_excel(zf.open('CCPP/Folds5x2_pp.xlsx'))
我还尝试使用pandas的open_excel,它可以访问.zip文件。但是,它无法区分.ods和.xlsx文件,并且不会打开这两个文件

pandas.open_excel(https://archive.ics.uci.edu/ml/machine-learning-databases/00294/CCPP.zip) 
你对打开这些文件有什么建议吗?谢谢大家!