Using the 'write()' method we add the file “file.pdf” to the ZIP archive. import zipfile with zipfile.ZipFile("Folder.zip", "a") as zip_ref: ...
確定! 回上一頁