Posted by sami on 10/23/07 09:04
Hi
Is it possible to print the output of a Python script inside PHP? e.g.
I have a python script that has the contens:
pyScript.py:
#!/usr/bin/python
print "hello world"
and I have a PHP script phpScript.php:
<?php
-- Execute pyScript.py here and print its output to stdout ("hello
world") here
?>
I found PiP but that is for embedding Python code inside PHP
Thanks
Sami
Navigation:
[Reply to this message]
|