Pthon scripting question.

Sandipan Gangopadhyay sandipan at vsnl.com
Tue May 15 19:34:14 EDT 2001


That should probably need to be at least:

<script language="python" type="text/python" xmlns:py="...">
    <py:indent>
        print 'Hello World!'
    </py:indent>
</script>

Sandipan

----- Original Message -----
From: "José Rui Faustino de Sousa" <jrfsousaREMOVE00594872 at esoterica.pt>
Newsgroups: comp.lang.python
To: <python-list at python.org>
Sent: Wednesday, May 16, 2001 4:30 AM
Subject: Pthon scripting question.


> Hi!
>
> Is it possible to make something like this work:
>
> <script language="python" type="text/python" >
>     print 'Hello World!'
> </script>
>
> I have also tryed to do it like this:
>
> <script language="python" type="text/python" src="foo.py" />
>
> and although the script runs (and writes to a file) it does not seam to
> be able to output to the browser canvas.
>
> I have been looking around and was not able to find anything that could
> use python directly...
>
> Any advice? Pointers?
>
> Best regards
> José Rui
>
>
> --
> ========================================================================
> [On doctrinaire religions] Men dare not avow, even to their own hearts,
> the doubts which they entertain on such subjects. They make a merit of
> implicit faith; and disguise to themselves their real infidelity, by the
> strongest asseverations and the most positive bigotry. - David Hume.
> ========================================================================
> Iam://José Rui Faustino de Sousa http://homepage.esoterica.pt/~jrfsousa/
> mailto://jrfsousaREMOVE00594872@esoterica.pt phone://+351-239444940
> address://rua Carlos A. Pinto de Abreu nº 30C, 1º 3040 Coimbra Portugal
> ========================================================================
> Real Programmers do sig blocks in Fortran 95.
> ========================================================================
>
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>





More information about the Python-list mailing list