3

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.

Mai Daly
  • 73
  • 6
  • 1
    Please see this question: https://stackoverflow.com/questions/53728127/mount-multiple-drives-in-google-colab – StarDust Jun 17 '21 at 00:01

1 Answers1

5

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()
Timus
  • 10,974
  • 5
  • 14
  • 28
korakot
  • 37,818
  • 16
  • 123
  • 144