How to automatically mount my Google Drive to Google Colab
I have recently discovered Google Colab and I am wondering if there is an option to permanently authorize Google Colab to access and mount my Google Drive.
from google.colab import drive
drive.mount('/content/drive')
Go to this URL in a browser: https://accounts.google.com/o/oauth2/auth?client_id=xxx
Enter your authorization code:
··········
Mounted at /content/drive
Right now, I need to all the time insert manually the authorization code and I want when I start a new Google Colab to have my drive mounted.
Is there an option to do that or I should execute this all the time manually?
Category Data Science