dqh19413
dqh19413
2013-09-27 19:09

在php网站中嵌入python脚本

已采纳

I am developing a php based web app but I have a python script that I already had that I want to integrate into my system. Is it possible to embed/include the python script within the main content area of my web app on a specific page?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

2条回答

  • dptn69182 dptn69182 8年前

    I use this app for embedding pythonb code into php http://www.csh.rit.edu/~jon/projects/pip/

    点赞 评论 复制链接分享
  • douxiza9868 douxiza9868 8年前

    There's this implementation of python called python server page that you can use to embed python into the web app directly just like php but it would have file extension .psp it is not actively developed, Google it up

    点赞 评论 复制链接分享