Learn Before
Concept
Google Drive
Mounting Google Drive Locally
from google.colab import drive drive.mount('/content/drive') with open('/content/drive/My Drive/foo.txt', 'w') as f: f.write('Hello Google Drive!') !cat /content/drive/My\ Drive/foo.txt drive.flush_and_unmount()
This allows the user to read, write, and move files in Google Drive.
0
1
Updated 2021-05-30
Tags
Python Programming Language
Data Science