You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
359 B
9 lines
359 B
import os
|
|
import gapi
|
|
from gapi.drive_api import drive_api, APPLICATION_NAME
|
|
|
|
my_api = drive_api(APPLICATION_NAME, r"test\drive\client_secret.json", r"test\drive")
|
|
t1 = my_api.get_file_by_path("/Python/Lib/site-packages", False)
|
|
# t1.refresh()
|
|
# t2 = my_api.mkdirs('/test/t1/this/is/a/path/why/isnt/this/working')
|
|
# t3 = my_api.upload(os.getcwd(),'/test/t3')
|