colab connect to drive code example
Example 1: connect google drive to colab
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()