我在 JupyterLab 中有一个名为 myfolder 的文件夹(包含多个文件)。我可以下载文件但不能下载文件夹,因为 JupyterLab 不允许。因此,我想压缩该文件夹,然后将其下载到我的 table 面。
问题:如何压缩我的文件夹?
最佳答案
您是否也尝试使用 tar
而不是 zip
?
查看 github 中的讨论
on my notebook zip is not working but tar is. so
%%bash
tar -czf archive.tar.gz foldername
关于python - 如何在 JupyterLab 中压缩文件夹?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66037110/