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?
Asked
Active
Viewed 1,867 times
1
-
you could call the script on the command line using exec. http://stackoverflow.com/questions/5497540/how-to-call-a-python-script-from-php – Jonathan Kuhn Sep 27 '13 at 19:10
-
Not to beat you up, but it is Python, not phython. – karthikr Sep 27 '13 at 19:12
-
Thanks for that Jonathan! and sorry! Hadn't realized I spelt it wrong. Some silly spell check lol. – BHWD Sep 27 '13 at 19:21
2 Answers
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

user2711485
- 429
- 1
- 4
- 5