Unable to put Python code to Joomla

2019-08-21 15:21发布

问题:

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.

回答1:

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/



标签: python joomla