Reply to printing python script execution inside php

Your name:

Reply:


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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация