php frontend, python backend

Jon Parise jon at csh.rit.edu
Wed Jan 29 02:31:00 EST 2003


On Tue, Jan 28, 2003 at 10:55:24PM -0500, grayrest wrote:

> >My webhost accept php but not python, but i want to use python with
> >mysql for my website. So i want know if its possible to have php as
> >frontend, and backend logic in python, and how to do that?
> >I dont want to use too much php code, because it is crap and messy.
> >Thanks
> 
> Looks like you'll have to be using php. Unless, of course, you have 
> another server that you can run python on and trade remote messages, but 
> if you do have such a server why not host your app there?
> 
> Running Python requires a python interpreter, if you don't have one you 
> can't run python on that computer.

Or you could embed Python in PHP:
 
    http://www.csh.rit.edu/~jon/projects/pip/

-- 
Jon Parise (jon at csh.rit.edu)  ::  http://www.csh.rit.edu/~jon/





More information about the Python-list mailing list