简体   繁体   English

如何在单个请求中使用 Python 在 Google Drive 中上传文件夹(不是文件)?

[英]How do I upload a folder (not files) in Google Drive using Python at a single request?

I need to upload a multiple number of folders in google drive using python.我需要使用 python 在谷歌驱动器中上传多个文件夹。

I can able to upload a file in google drive using python.But I have no idea about the folder.Can some one help me with this please.我可以使用 python 在谷歌驱动器中上传文件。但我不知道该文件夹。有人可以帮我解决这个问题。

Go to the google cloud platform enable google drive API read the documentation and you can upload folders and replace folders Go 到google云平台启用google drive API 阅读文档可以上传文件夹和替换文件夹

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Python-如何使用 Google Drive API 将文件上传到一个文件夹? - Python- How to upload files to one folder using Google Drive API? python中无法使用Google Drive上传文件 API - Unable to upload files using Google Drive API in python 如何使用python替换Google云端硬盘文件的内容? - How do I replace the contents of a Google Drive file using python? 使用python的谷歌驱动器文件夹中的文件列表 - List of files in a google drive folder with python 如何使用 Python 在 Google 驱动器上上传大文件? - How to upload a large file on Google drive using Python? 如何使用 python 脚本在谷歌驱动器中创建和显示文件夹? - How to create and show a folder in google drive using python script? 如何只将文件上传到谷歌驱动器一次? - How to upload the files to google drive only once? 我正在尝试使用 python 和来自谷歌云的驱动器 API 将文件上传到谷歌驱动器。 但它的凭据会在一段时间后过期。 该怎么办? - I am trying to upload a file to google drive using python and Drive API from google Cloud. But it's credentials expires after sometime. what to do? 如何使用 Python 在 Google Drive 上的文件夹中搜索文件 - how to search the files inside the folders on Google Drive using Python 为什么在Google Colaboratory中使用Python3.6在google drive.files.update中出现“错误请求”? - Why “Bad request” in google drive.files.update using Python3.6 in Google Colaboratory?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM