Is it possible to mix python with php?

Chris Angelico rosuav at gmail.com
Sat Dec 14 02:48:10 CET 2013


On Sat, Dec 14, 2013 at 12:42 PM, JL <lightaiyee at gmail.com> wrote:
> Python is my favorite language. Very often, I am forced to use other languages like php because of better library support for web applications. Is it possible to write functions in python and then get php to call these functions?

What sort of libraries are you needing? Often you'll be able to call
on those libraries from Python directly (eg if they're written in C,
they may well have Python as well as PHP bindings). Have a look on
python.org and PyPI for what you're after - chances are it already
exists.

ChrisA



More information about the Python-list mailing list