在colab上创建好Jupyter notebook后,需要链接google的硬盘,代码如下: from google.colab import drive drive.mount('/content/gdrive') pwd如下: