简体   繁体   English

如何将文件从网络表单上传到Google文档?

[英]How do I upload a document from a web form to google docs?

I'm writing a web aplication for users to upload documents on their computer to google docs, and download them. 我正在编写一个网络应用程序,供用户将其计算机上的文档上传到Google文档,然后下载。 It seems that google docs python API requires that the files for upload be stored locally on the server running the aplication. 似乎google docs python API要求将要上传的文件本地存储在运行应用程序的服务器上。 How do I allow users to upload documents using a web form? 如何允许用户使用网络表单上传文档?

Google Documents List Data API is a REST API, so you can use it in any language. Google Documents List Data API是REST API,因此您可以使用任何语言。 You can use urllib2 or culrlib to make your HTTP requests, or use http://code.google.com/intl/pl-PL/apis/documents/docs/3.0/developers_guide_python.html#GettingStarted 您可以使用urllib2或culrlib发出HTTP请求,也可以使用http://code.google.com/intl/pl-PL/apis/documents/docs/3.0/developers_guide_python.html#GettingStarted

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

相关问题 如何从该网页上的Google文档表中抓取数据? - How do I scrape the data from the Google Docs table on this web page? 使用Google App Engine如何在谷歌文档中上传文档(python) - Using Google App Engine how to upload document in google docs (python) 如何将存储在 Google Drive 上的 Google Docs 文件(文档模板)转换为 PDF 并下载? - How do I convert Google Docs file (Template for Document) Stored on Google Drive to PDF and download it? 将html文档上传到python中的Google文档 - Upload an html document to Google Docs in python 如何从根集合(文件夹)中删除资源(Google文档文件) - How to remove a resource (Google Docs document) from the root collection (folder) 上载和未转换的文件不会出现在Google文档的文档供稿中 - Uploaded and not converted files do not appear in the document feed in Google Docs 如何使用 Google API 检索 Google Docs 文档的内容 - How to retrieve contents of a Google Docs Document using the Google API 如何通过Google Data API将文件上传到Google文档? - How to upload files to Google Docs through Google Data API? 如何在来自 Python 文档字符串的 Sphinx 文档中显示图像? - How do I display an image in Sphinx docs from a Python docstring? 如何使用 google api 和 python 在 google docs 中打开文件? - How do I open a file in google docs using google api and python?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM