Reputation: 769
I would like to not only import several python modules/files into Google Colab, but an entire directory (which might itself have sub-directories).
Upvotes: 0
Views: 425
Reputation: 38579
The simplest mechanism to synchronize a directory is to use the Drive FUSE client
To mount your Drive files on the Colab backend, run:
from google.colab import drive
drive.mount('/content/gdrive')
Then, you can upload files to drive.google.com
, or use Backup and Sync on your desktop to sync directories efficiently.
Upvotes: 2