Colab Mount Drive

[Solved] Colab Mount Drive | Python - Code Explorer | yomemimo.com
Question : colab mount drive

Answered by : sasso

from google.colab import drive
drive.mount('/content/drive')
#Optional: move to the desired location:
%cd drive/My Drive/DIRECTORY_IN_YOUR_DRIVE

Source : | Last Update : Tue, 17 Nov 20

Question : connect google drive to colab

Answered by : vishal-uxfmn7f6yuao

from google.colab import drive
drive.mount("/content/gdrive")

Source : | Last Update : Thu, 13 Aug 20

Question : mount drive google colab

Answered by : annoyed-antelope-87f5ykzp3ikm

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

Source : https://stackoverflow.com/questions/56449262/how-to-upload-folders-to-google-colab | Last Update : Thu, 09 Apr 20

Question : read file from google drive colab

Answered by : eager-eel-0k4tuwar62zp

downloaded = drive.CreateFile({'id':"your_file_ID"}) # replace the id with id of file you want to access
downloaded.GetContentFile('your_file_name.csv') # replace the file name with your file

Source : https://buomsoo-kim.github.io/colab/2018/04/16/Importing-files-from-Google-Drive-in-Google-Colab.md/ | Last Update : Fri, 25 Dec 20

Answers related to colab mount drive

Code Explorer Popular Question For Python