Home  >  Article  >  Backend Development  >  php调用python,该怎么解决

php调用python,该怎么解决

WBOY
WBOYOriginal
2016-06-13 13:42:411015browse

php调用python
php如何调用python写的函数,我知道可以通过系统调用来完成,但是,可不可以把python包装成一个php模块,就像php调用C/C++一样

------解决方案--------------------
定制接口,让php调用。soap,xml,socket都行
------解决方案--------------------
你用python写个cgi吧

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn