Skip to content

Instantly share code, notes, and snippets.

View zjiayao's full-sized avatar

Jiayao Zhang zjiayao

View GitHub Profile
@zjiayao
zjiayao / download_from_shared_google_drive.py
Created March 11, 2018 14:39
Download file from shared Google Drive link.
from __future__ import print_function
import os
import requests
URL = "https://docs.google.com/uc?export=download"
ID = "" # the file ID appeared in the shared link
DATAFILE = "" # the name of the file to be downloaded
if __name__ == '__main__':