from google.colab import drive drive.mount('/content/gdrive') code example
Example: connect google drive to colab
from google.colab import drive
drive.mount("/content/gdrive")
from google.colab import drive
drive.mount("/content/gdrive")