[英]Google App Engine and Python Connected Project
Currently I am using Eclipse and I am trying to implement a Python Backend/API for an Android App on Google App Engine. 目前,我正在使用Eclipse,并且正在尝试为Google App Engine上的Android应用程序实现Python后端/ API。
I see you can generate an App Engine Backend using Google Eclipse Plugins but from I see it can only be generated in Java. 我看到您可以使用Google Eclipse插件生成App Engine后端,但从我的角度来看,它只能用Java生成。 Is there a way to generate an App Engine Backend in Python? 有没有一种方法可以在Python中生成App Engine后端?
Would it be better to create a Python App Engine Project and define all the API associated with the App in that project and just make calls through another project that houses the app itself? 创建一个Python App Engine项目并在该项目中定义与该App相关的所有API,然后通过包含该应用本身的另一个项目进行调用会更好吗? ' “
Just looking for some clarification as to how the best way to organize and implement this type of project. 只是需要澄清一些有关如何组织和实施此类项目的最佳方法。
The eclipse plugin is Java only. eclipse插件仅Java。 However you can use your favorite IDE to work with app engine and it works really fine. 但是,您可以使用自己喜欢的IDE与App Engine一起使用,并且确实可以正常工作。 If you do like eclipse, add the app engine libraries to your project. 如果您喜欢eclipse,请将App Engine库添加到您的项目中。 And create a run configuration as follows: 并创建运行配置,如下所示:
${project_loc} or some other flags $ {project_loc}或其他一些标志
More info here: https://developers.google.com/appengine/articles/eclipse 此处提供更多信息: https : //developers.google.com/appengine/articles/eclipse
Please note that you can use the App Engine console to lauch/stop your project and code using your favorite IDE too, there is no need to configure eclipse to launch (it is just more comfortable to do so) 请注意,您也可以使用App Engine控制台使用您喜欢的IDE来停止/停止您的项目和代码,无需配置eclipse来启动(这样做更方便)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.