Tuesday, August 24, 2021

How to attach and detach your drive files to google colab?

To attach execute the following

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

To Detach execute the following,

from google.colab import drive
drive.flush_and_unmount()

No comments: