On Apr 25, 4:02 pm, sturlamolden <[EMAIL PROTECTED]> wrote:
> On Apr 23, 9:13 pm, [EMAIL PROTECTED] wrote:
>
> > A simple yet dangerous and rather rubbish solution (possibly more of a
> > hack than a real implementation) could be achieved by using a
> > technique described above:
>
> > <?php
> >         echo exec('python foo.py');
>
> This will spawn a Python interpreter, and not be particularly
> efficient. You could just as well have used CGI.

Thanks for pointing that out. I thought the warning before hand
could've suggested that this implementation wasn't the best. I'll be
more explicit in the future.
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to