【问题标题】:GAE - Online admin consoleGAE - 在线管理控制台
【发布时间】:2012-07-21 05:55:06
【问题描述】:

有什么方法可以在我的 google appengine 应用程序上在线运行自定义 python 代码?我可以在某个地方使用 python 控制台吗?我在这里和那里看到过模糊的参考,但没有具体的参考。

【问题讨论】:

    标签: python google-app-engine


    【解决方案1】:

    查看这些previous answers,了解如何在已部署的应用程序上启用交互式控制台(您可以在本地开发应用服务器上使用)。

    【讨论】:

      【解决方案2】:

      您可以使用远程外壳,即在您的应用引擎 sdk 上。 例如 ~/bin/google_appengine/remote_api_shell.py -s your-app-identifier.appspot.com s~your-app-identifier

      当您在 shell 中时,您将启用 db 模块。为了使用您的模型,您必须导入它们。

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-08-27
        • 1970-01-01
        • 2018-03-19
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2018-05-11
        相关资源
        最近更新 更多