A minimal working example.
- Place the Jupyter notebook in your Google Drive.
- In Google Drive in your web browser, open the Jupyter notebook with Colaboratory.
- Run the cells in this notebook to mount the drive and practice reading & writing files.
- In this example,
input.txt
is a file in the top-level directory of my Google Drive. - You can append sub-directories to the path as needed. E.g. to access a file in a directory called
my_project
, use the path/content/gdrive/My Drive/my_project/
.
is there any way pass oath2 auth. without user interaction?