Mounting google drive on google Colab

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP

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:
The code snippet I used which is exactly the same as that from the Medium tutorial





Do we need to run these commands and perform authorization every time I use my notebook?
– Kaushal Kishore
Jul 12 at 18:55





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.

Comments

Popular posts from this blog

Executable numpy error

Trying to Print Gridster Items to PDF without overlapping contents

Hystrix command on request collapser fallback