John Salerno wrote:
> Thanks, that makes much more sense to me now. But does this mean I can
> still write HTML normally? What would an example be of having HTML
> within a Python script? I have a hard time picturing this, because I
> imagine that most of my pages will be almost all HTML, with j
Rene Pijlman wrote:
> There's also PSP:
> http://www.ciobriefings.com/psp/
Another incarnation of PSP can be used as part of Webware for Python
(http://www.w4py.org).
And one of the more modern solutions that should be mentioned is Kid
(http://kid.lesscode.org).
-- Christoph
--
http://mail.py
bruno at modulix wrote:
> John Salerno wrote:
>
>>Rene Pijlman wrote:
>>
>>
>>>John Salerno:
>>>[Python alternative for PHP]
>>>
>>>
So to do this with Python, do I simply integrate it into the HTML as
above, with no extra steps?
>>>
>>>
>>>You'd need something like the PHP engine, that u
In article <[EMAIL PROTECTED]>,
John Salerno <[EMAIL PROTECTED]> wrote:
>bruno at modulix wrote:
>
>> You've got to understand that Python is *not* a 'ServerPage' language
>> (-> php, asp, jsp etc) in itself. Your server can now run python, fine,
>> but *how* ? CGI ? FastCGI ? mod_python ? other ?
John Salerno wrote:
> Kirk McDonald wrote:
>
>> A more common (and bare-metal) approach is CGI. In CGI, a request for a
>> page runs a script, the output of which is the HTML page. I think this
>> only requires that the server has Python installed, which you have said
>> is the case. Python has
Kirk McDonald wrote:
> A more common (and bare-metal) approach is CGI. In CGI, a request for a
> page runs a script, the output of which is the HTML page. I think this
> only requires that the server has Python installed, which you have said
> is the case. Python has signifigant standard librar
John Salerno wrote:
> I'm hoping someone can give me the basics for how to do very simple
> things with Python scripts from within my HTML. For example, I know that
> I can do this in PHP:
>
> Here is a header
> // include some external html
> More html
>
> So to do this with Python, do I s
Rene Pijlman wrote:
> John Salerno:
> [Python alternative for PHP]
>> So to do this with Python, do I simply integrate it into the HTML as
>> above, with no extra steps?
>
> You'd need something like the PHP engine, that understands Python rather
> than PHP.
My web server can run Python, fortun
I'm hoping someone can give me the basics for how to do very simple
things with Python scripts from within my HTML. For example, I know that
I can do this in PHP:
Here is a header
// include some external html
More html
So to do this with Python, do I simply integrate it into the HTML as
a
John Salerno wrote:
> bruno at modulix wrote:
>
>> You've got to understand that Python is *not* a 'ServerPage' language
>> (-> php, asp, jsp etc) in itself. Your server can now run python, fine,
>> but *how* ? CGI ? FastCGI ? mod_python ? other ? (hint: it's probably
>> just plain old CGI...)
>
Rene Pijlman wrote:
> John Salerno:
> [Python alternative for PHP]
> >So to do this with Python, do I simply integrate it into the HTML as
> >above, with no extra steps?
>
> You'd need something like the PHP engine, that understands Python rather
> than PHP.
[...]
> There's also PSP:
> http://www
John Salerno:
[Python alternative for PHP]
>So to do this with Python, do I simply integrate it into the HTML as
>above, with no extra steps?
You'd need something like the PHP engine, that understands Python rather
than PHP.
I've used Cheetah:
http://www.cheetahtemplate.org/
Our BDFL seems to
bruno at modulix wrote:
> You've got to understand that Python is *not* a 'ServerPage' language
> (-> php, asp, jsp etc) in itself. Your server can now run python, fine,
> but *how* ? CGI ? FastCGI ? mod_python ? other ? (hint: it's probably
> just plain old CGI...)
So does that mean I need to ha
John Salerno wrote:
> Rene Pijlman wrote:
>
>> John Salerno:
>> [Python alternative for PHP]
>>
>>> So to do this with Python, do I simply integrate it into the HTML as
>>> above, with no extra steps?
>>
>>
>> You'd need something like the PHP engine, that understands Python rather
>> than PHP.
>
14 matches
Mail list logo