Google Colab

Tricks

Connect to drive

from google.colab import drive
drive.mount('/content/gdrive')

Upload a file from notebook

from google.colab import files
files.upload()

Download a file from notebook

from google.colab import files
files.download('path/to/file')