1

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?

3
  • you could call the script on the command line using exec. stackoverflow.com/questions/5497540/… Commented Sep 27, 2013 at 19:10
  • Not to beat you up, but it is Python, not phython. Commented Sep 27, 2013 at 19:12
  • Thanks for that Jonathan! and sorry! Hadn't realized I spelt it wrong. Some silly spell check lol. Commented Sep 27, 2013 at 19:21

2 Answers 2

1

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

Sign up to request clarification or add additional context in comments.

Comments

1

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.