Skip to content
Advertisement

Google drive API Python – how to set a destination to files that are downloaded with the api

i am downloading the files inside a folder in drive, and i wanted to store them also in a local folder in the same location where my python script is, instead that saving them unorderer without a folder my current code is here:

JavaScript

when i run this code the console shows the download 100% string but i cant find the files neither on the location of my script nor on other location of the local storage.

Advertisement

Answer

The downloaded data is still stored in RAM. This copies the data to the folder where your python file is.

JavaScript

If you are experiencing issues, I found this answer here.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement