[Tutor] Why not to use include?

Dotan Cohen dotancohen at gmail.com
Sun Jun 8 23:25:06 CEST 2008


2008/6/8 Kent Johnson <kent37 at tds.net>:
> On Sun, Jun 8, 2008 at 3:14 PM, Dotan Cohen <dotancohen at gmail.com> wrote:
>> If this is not the case, then why are there so many "PHP vs. Python"
>> flame wars? PHP is designed for _only_ programming web pages, so far
>> as I understand, so if Python cannot do that why are the two languages
>> compared so often?
>
> Python is a general purpose language that can, among other things, be
> used to generate web pages in many different ways. Possibly none of
> these ways match your pre-conceptions. Please do some reading.
>
> Probably the simplest way to generate a web page from Python is with a
> cgi module. Here is a simple example:
> http://wiki.python.org/moin/CgiScripts
>

I see, it is not exactly what I was expecting. Thanks.

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?


More information about the Tutor mailing list