Skip to content

Instantly share code, notes, and snippets.

@korakot
Created November 15, 2017 08:40
Show Gist options
  • Save korakot/e7f04fa7bd3a8a67b729da279ab1713a to your computer and use it in GitHub Desktop.
Save korakot/e7f04fa7bd3a8a67b729da279ab1713a 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
@sonu275981
Copy link

Good Work......keep it up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment