[python-uk] <?python ...?>
robinshields at gmail.com
Tue Mar 3 08:46:40 CET 2009
I would think the indentation in python would make this pretty difficult,
indentation doesn't matter much with php because it uses curly braces, so it
can be mixed in with html quite easily (although this is becoming less
common). For this reason, most python web frameworks, (e.g. Django and
CherryPy) use specialised templating languages, they are both worth checking
On Tue, Mar 3, 2009 at 6:30 AM, umar <umarhafeez at yahoo.com> wrote:
> 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
> 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...
> Malte Beckmann wrote:
>> 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
>> Cheers! /m
>> python-uk mailing list
>> python-uk at python.org
> python-uk mailing list
> python-uk at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the python-uk