Last active
December 24, 2022 11:19
-
-
Save pessini/4a1a0cc28f30e832a7a6d049b01c7499 to your computer and use it in GitHub Desktop.
How To Download Files And Folders From Google Colab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# create a zip file from folder you want to download | |
!zip -r /content/file.zip /content/FOLDER_TO_DOWNLOAD/ | |
# download file recently created | |
from google.colab import files | |
files.download("/content/file.zip") | |
# download individual file | |
files.download('/content/sample_data/README.md') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment