google colab upload to drive code example
Example 1: google colab how to upload a folder
from google.colab import drive
drive.mount('/content/gdrive')
Example 2: google colab upload a file
from google.colab import files
files.upload()
from google.colab import drive
drive.mount('/content/gdrive')
from google.colab import files
files.upload()