-
-
Save falahgs/d5af120d0442163ae34896b72da56518 to your computer and use it in GitHub Desktop.
Google colab file upload/download
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
files.download('example.txt') # from colab to browser download |
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
from google.colab import files | |
uploaded = files.upload() # then browse, select the files. It's then uploaded | |
# uploaded is now a dict containing "filename" -> Content |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment