Skip to content

Instantly share code, notes, and snippets.

View minhntm's full-sized avatar
:octocat:

Nguyễn Trí Minh minhntm

:octocat:
  • Tokyo
  • 14:44 (UTC +09:00)
View GitHub Profile
@minhntm
minhntm / pydrive.py
Created April 9, 2018 09:27
Access Google Driver by PyDrive
#Install PyDrive
# !pip install -U -q PyDrive
from pydrive.auth import GoogleAuth
from pydrive.drive import GoogleDrive
from google.colab import auth
from oauth2client.client import GoogleCredentials
# Authenticate and create the PyDrive client.
auth.authenticate_user()