Re: how can one run python script in php
| From: | Richard Quadling | Date: | Wed, 08 Dec 2010 23:22:05 +0000 |
| Subject: | Re: how can one run python script in php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-309919@lists.php.net to get a copy of this message | ||
On 8 December 2010 22:50, Moses <jamuah@gmail.com> wrote:
> Hi Everyone,
>
> I am trying to run a python script in php using exec or system command, but
> there is
> no answer.
>
> musa
>
I use windows and
http://docs.php.net/manual/en/install.windows.manual.php
and
http://docs.php.net/manual/en/install.windows.commandline.php
contain
all the details I've ever needed for a manual installation of PHP.
Using the same rules for Python would allow you to simply run the .py
script or the .pyc script just as easily as you can run PHP or a
.BAT/.CMD script.
--
Richard Quadling
Twitter : EE : Zend
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY