public async RunWorkFlow() { await UnzipZippedArtifacts(zipFile);当我尝试以上所述时,有时解压缩方法会在下载完成之前启动,并导致试图解压缩已损坏(下载一半)的文件。Error: Corrupted zip: can't find end of central director
我正在尝试使用Python脚本创建一个从直接链接下载文件的脚本(比如这个:"http://beatsaver.com/api/download/key/f55c“)。我尝试过这里或其他网站上的各种代码,结果要么是一个损坏的压缩文件,要么是一个"zipfile.BadZipFile: file is not a zip file“。song_test.zip")
zfile = open(zname, 'wb
我正在与一个150GB+压缩文件的dicom图像。我正在尝试通过它们的文件名来提取其中的一些。我正在开发google collab Python3解释器,并在长度为500的文件名列表上使用zipfile模块和ZipFile.extractall()方法(例如:'stage_1_train_images下面是我的代码: from zipfile import ZipFile
with ZipFile(src, 'r')