I have a batch of files I know how to query files Now I want to batch files Setting can only view and prohibit download But I don’t know how to achieve Answer After finding your GoogleDrive file. Use copyRequiresWriterPermission = True. Then upload.
Tag: pydrive
Python : upload my own files into my drive using Pydrive library
I want to upload my file into my drive. However in Pydrive Documentation I found only upload() function that uploads a file created by drive.CreateFile() function and update it, and not the file in my hard drive (my own file). I’ve tried the ansewers of my question here in stackoverflow, but an error accured . here is my code :