Python in HTML files

Ian Bicking ianb at colorstudy.com
Thu Apr 17 02:17:36 EDT 2003


On Thu, 2003-04-17 at 00:00, Em wrote:
> I'm trying to get Python commands to run from within HTML files (a la 
> PHP) or at least simulate that behavior.
[...]
> So my question is, do you know of any technologies like this that are 
> not Servlets and do not copy files outside a locked-down user's profile?

You might try Spyce: spyce.sf.net

In your situation you'd probably be forced to put a line like
    #!/home/me/cgi-bin/spyce_something.py
at the top of every file.  Though maybe there's other tricks.

  Ian







More information about the Python-list mailing list