Last active
August 11, 2019 18:54
-
-
Save mlai-demo/310190a4cebf423698ce91a5c6b51eca to your computer and use it in GitHub Desktop.
import files into 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
from google.colab import files | |
uploaded = files.upload() | |
for fn in uploaded.keys(): | |
print('User uploaded file "{name}" with length {length} bytes'.format( | |
name=fn, length=len(uploaded[fn]))) | |
# Click Files tab - the uploaded file(s) will be there |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment