阅读背景:

为什么zipfile。在xlsx文件中is_zipfile返回True ?

来源:互联网 

I am using is_zipfile to check if it is a zipfile before extracting it. But the method returns True on excel file from a StringIO object. I am using Python 2.7. Does anyone know how to fix this? Is it reliable to use to check if it is a zipfi




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: