php调用python,该怎么解决

WBOY
Release: 2016-06-13 10:11:49
Original
983 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template