Answers for "mount google drive on colab"

7

colab mount drive

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

#Optional: move to the desired location:
%cd drive/My Drive/DIRECTORY_IN_YOUR_DRIVE
Posted by: Guest on November-10-2020
0

unmount google drive colab

from google.colab import drive
drive.flush_and_unmount()
Posted by: Guest on September-06-2020

Python Answers by Framework

Browse Popular Code Answers by Language