【问题标题】:Connecting to Google app engine using Python on the client side在客户端使用 Python 连接到 Google 应用引擎
【发布时间】:2011-12-13 01:37:29
【问题描述】:

服务器和客户端程序都将用 Python 编写。谁能告诉我如何在客户端使用 Python 与用 Python 编写的 Google App Server 进行通信?

Google 应用引擎已经提供了一个 Channel API,但它是在服务器端,它需要在客户端使用 JavaScript。

在 Python 中嵌入 JavaScript 会有帮助吗?还有其他选择吗?

使用 Python 2.5 和 Google App Engine v 1.5。

【问题讨论】:

标签: python google-app-engine


【解决方案1】:

您是否考虑过在后端构建一个 restful api?也许django-piston 可以提供帮助(不确定它是否可以在开箱即用的 GAE 上运行)。

还有 Google Channel API Client 端的 Python 库,显然有人对协议进行了逆向工程:https://bitbucket.org/lohre/gae_channel/overview/

【讨论】:

猜你喜欢
  • 2019-03-24
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2013-11-12
  • 2011-06-10
  • 1970-01-01
相关资源
最近更新 更多