Unable to put Python code to Joomla

2019-08-21 14:32发布

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

How can you implement Python code to Joomla?

[edit after the 1st answer]

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

标签: python joomla
1条回答
放我归山
2楼-- · 2019-08-21 15:22

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.

There's no straight python to php conversion though.

EDIT: 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/

查看更多
登录 后发表回答