[python-uk] <?python ...?>

umar umarhafeez at yahoo.com
Tue Mar 3 07:30:20 CET 2009


http://www.python.org/community/pycon/dc2004/papers/14/
http://www.howtoforge.com/embedding-python-in-apache2-with-mod_python-debian-ubuntu-fedora-centos-mandriva-opensuse

If I were you, I would stick with CGI interface to python scripts. In 
above cases the server needs to be modified (as in PHP,
the only difference is that a lot of hosting companies particular shared 
hosting offer the server which can interpret embedded
javascript and php code but not embedded python).

This might just be my misconception but making use CGI interface may 
also offer more security than going for embedding option.

Well I am just amateur myself...

Regards



Malte Beckmann wrote:
> Hello!
>
> Just wrote my first 30 odd python scripts and loving this language.
>
> But do, however, have a burning question on my mind.
>
> Why can I not just do <?python ... ?> in my webpages like I can do 
> with PHP?
>
> Cheers! /m
>
>
> _______________________________________________
> python-uk mailing list
> python-uk at python.org
> http://mail.python.org/mailman/listinfo/python-uk
>


More information about the python-uk mailing list