Mounting google drive on google Colab


Mounting google drive on google Colab
I followed the steps given in this Medium tutorial on google colab and then tried to clone a git repository but I cannot see the repository anywhere in my drive.
The following image is the code snippet I used which is exactly the same as that from the Medium tutorial:
2 Answers
2
Adjust ur path where you git clone.
try adding drive folder to path
import os
os.chdir("drive")
Just do cd drive
(without !
) or %cd drive
.
cd drive
!
%cd drive
See cd vs !cd vs %cd in IPython.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
Do we need to run these commands and perform authorization every time I use my notebook?
– Kaushal Kishore
Jul 12 at 18:55