Re: Using PHP in Python

2006-06-12 Thread Michel Claveau
Hi! Only in Windows, I can call PHP (more exactly PHP-script) from Python. I can, also, call, from Python, PHP-defined-functions, like a method of a Python-class. It's a combination of Active-scripting & dynamic method add to a class. -- @-salutations Michel Claveau -- http://mail.python.o

Re: Using PHP in Python

2006-06-12 Thread Rene Pijlman
Tgone: >I have some custom PHP functions that I didn't want to re-write in >Python. But maybe I should just rewrite them :) Absolutely. The alternative is one of many IPC mechanisms that are available in both Python and PHP (such as XML-RPC). But that may require more effort than rewriting the f

Re: Using PHP in Python

2006-06-12 Thread Diez B. Roggisch
> I have some custom PHP functions that I didn't want to re-write in > Python. But maybe I should just rewrite them :) Certainly yes. And you'd be amazed how easier it is in python, I believe. Diez -- http://mail.python.org/mailman/listinfo/python-list

Re: Using PHP in Python

2006-06-12 Thread Tgone
Diez B. Roggisch wrote: > Tgone wrote: > > > Hello, > > > > I've come across sites that discuss embedding Python in PHP, but is it > > possible to access PHP functions in Python? > > I'm not aware of a generic wrapper thingy. Which doesn't mean there is none. > But which functions are you interest

Re: Using PHP in Python

2006-06-12 Thread Diez B. Roggisch
Tgone wrote: > Hello, > > I've come across sites that discuss embedding Python in PHP, but is it > possible to access PHP functions in Python? I'm not aware of a generic wrapper thingy. Which doesn't mean there is none. But which functions are you interested in? I can't believe there is much tha

Using PHP in Python

2006-06-12 Thread Tgone
Hello, I've come across sites that discuss embedding Python in PHP, but is it possible to access PHP functions in Python? -- http://mail.python.org/mailman/listinfo/python-list