Mai Daly
Mai Daly

Reputation: 83

Google colab : How can i mount two google drive accounts?

I have two google accounts each one contains part of my data and i can,t include the data into one drive because of the size limit. So, I want to know if there is a way to mount the two drive accounts into colab.

Upvotes: 3

Views: 1471

Answers (1)

korakot
korakot

Reputation: 40773

You can use auth.authenticate_user() then access your second drive through pydrive API. Then you can move files from your second drive to the first one (mounted with drive.mount()).

from google.colab import auth

auth.authenticate_user()

Upvotes: 5

Related Questions