Skip to content

Instantly share code, notes, and snippets.

@buncis
Forked from korakot/colab_download.py
Created August 5, 2018 13:41
Show Gist options
  • Save buncis/52038aadf118b9d6c655b8cc7d2a9cad to your computer and use it in GitHub Desktop.
Save buncis/52038aadf118b9d6c655b8cc7d2a9cad to your computer and use it in GitHub Desktop.
Google colab file upload/download
files.download('example.txt') # from colab to browser download
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