'How to upload a zip file from a google drive in colab using zip file link
I have a zip file(files.zip) in my google drive. This zipped file is being used in a shared colab file. I want to write a program such that this zipped file is uploaded, using file id, so that anybody can run the program on their drive.
In other words, zipfile in my drive but colab notebook can be run from another google drive. I am using:
!wget --no-check-certificate https://drive.google.com/uc?export=download&id=FileId
This uploads the file which does not have the .zip extension. Please help.
Thanks.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|