usr/local/lib/python3.6/dist-packages/pydrive/files. > 43 return decoratee(self, *args, **kwargs) usr/local/lib/python3.6/dist-packages/pydrive/files.py in _decorated(self, *args, **kwargs) Then find the file or folder you’d like to download. > 210 self.FetchContent(mimetype, remove_bom) To download an individual file or folder, first, launch Google Drive on your desktop. usr/local/lib/python3.6/dist-packages/pydrive/files.py in GetContentFile(self, filename, mimetype, remove_bom)Ģ08 type(ntent) is not io.BytesIO or \ Gauth.credentials = GoogleCredentials.get_application_default() I use this code to download Google drive files from the file id, and give a file it's own name !pip install -U -q PyDriveįrom oauth2client.client import GoogleCredentials
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |