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.
7 lines
320 B
7 lines
320 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',False)
|
|
##t1 = my_api.mkdirs('/test/t1/this/is/a/path/why/isnt/this/working')
|
|
t1 = my_api.upload('test','/test/t3')
|