Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pydrive set parents

file2 = drive.CreateFile({'id': <file id>})
file2['parents'] = [{"kind": "drive#parentReference", "id": <destination_id>}]
file2.Upload()
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #pydrive #set #parents
ADD COMMENT
Topic
Name
6+3 =