无法将Python代码放入Joomla [英] Unable to put Python code to Joomla

查看:190
本文介绍了无法将Python代码放入Joomla的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个来自Google应用引擎的Python代码. 我需要将其实施到Joomla.

I have a Python code from Google app engine. I need to implement it to Joomla.

如何在Joomla中实现Python代码?

[第一个答案后编辑]

对我来说,可以将代码放在模块位置就足够了.

It is enough for me that I can put the code to a module position.

推荐答案

Joomla是基于PHP的,而Google App Engine是基于Python的(并且倾向于使用Django).最好的选择是找到python代码的替代方法,找人翻译它,或者学习python并手动翻译它.

Joomla is PHP based whereas Google App Engine is Python based (and tends to use Django). Your best bet is to either find an alternative to the python code, find someone to translate it, or learn python and manually translate it.

虽然没有直接的python到php转换.

There's no straight python to php conversion though.

但是,如果您真的想冒险,可以尝试在PHP项目中的Python,该项目仍处于早期阶段,并且看起来像是某人的辅助项目:

but if you really want to be adventurous, you can try the Python in PHP project which is still early phase and looks to be someone's side project: http://www.csh.rit.edu/~jon/projects/pip/

这篇关于无法将Python代码放入Joomla的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆