I have successfully mounted Google Drive into Google Colab.
Now I try to copy a file from Drive to Google Colab, but I see an error:cp: cannot stat 'MyDrive/lab2/methods_Nd.py': No such file or directory
But that file exists on the Drive.
The commands I use are:
JavaScript
x
6
1
# Mount Google Drive
2
from google.colab import drive
3
drive.mount('/content/drive')
4
5
!cp MyDrive/lab2/methods_Nd.py methods_Nd.py
6
If someone had a similar problem, I will be glad to know the solution
Advertisement
Answer
Not the right place to ask questions.