Tan*_*gar 5 python google-colaboratory
我使用这个安装了我的驱动器: from google.colab import drive drive.mount('/content/drive/')
from google.colab import drive drive.mount('/content/drive/')
我在文件夹中有一个文件,我想要如何确定路径的路径?假设包含该文件的文件夹在我的驱动器中名为“x”
Bob*_*ith 7
路径将是/content/drive/My\ Drive/x/the_file。
/content/drive/My\ Drive/x/the_file
小智 5
作为函数参数的路径将是/content/drive/My Drive/x/the_file,因此在My Drive 中没有反斜杠
归档时间:
7 年,2 月 前
查看次数:
11383 次
最近记录:
4 年,8 月 前