CGI/modpython ???

Michael Hall olc at ninti.com
Sat Mar 30 20:19:44 EST 2002


I've got to stop replying to my own emails ...

Anyway, further to my last two posts (see below), I have another question
or two:

- modpython hasn't been updated for a while ... is it still being
developed?

- where is HTML-embedded Python at? modpython's author refers to several
different systems in circulation and a lack of consensus on how to do it.

Thanks again

Mick

On Sun, 31 Mar 2002, Michael Hall wrote:

> 
> Sorry folks, I just found the modpython docs, so I can RTFM. Still, I'd be
> interested in any comments about modpython versus Python CGI.
> 
> Mick
> 
> 
> On Sun, 31 Mar 2002, Michael Hall wrote:
> 
> > 
> > I'm writing Python CGI scripts using the MySQLdb module and getting a
> > grasp on things fairly quickly ... Python is a cool language (I'm coming
> > to it from PHP). Thanks to Drew and Emile for sorting out my looping
> > function, it works fine now.
> > 
> > Now I'm wondering how modpython is used. If Apache has the modpython
> > module installed, how do I use it? What form do scripts take? 
> > 
> > Do they still look like CGI scripts, or do they look more like a PHP
> > script (some sort of embedded scripting)?
> > 
> > Does a script still use '#!/usr/bin/python', or are file endings (eg
> > .py) used to call the Python interpreter?
> > 
> > Is the script located in public_html or cgi-bin?
> > 
> > What would I have to do with a CGI script written in Python to use it with
> > modpython?
> > 
> > Thanks
> > 
> > -----------------------------
> > Michael Hall   mick at ninti.com
> > -----------------------------
> > 
> > 
> > 
> 
> 

-- 
-----------------------------
  n  i  n  t  i  .  c  o  m
  data  driven  development 
-----------------------------
Michael Hall   mick at ninti.com
-----------------------------





More information about the Python-list mailing list