To extract a zip file in google drive itself, we can use google colab to extract zip files inside google drive:
2. Mount Google Drive on Colab
3. from google.colab import drive
4. drive.mount('/gdrive')
5. Add autherize code in colab to access gdrive
6. unzip file like this
!unzip '/gdrive/My Drive/[filename].zip'
-d '/gdrive/My Drive/Destination/'
No comments:
Post a Comment