Python and ASP

Roger Upole rupole at hotmail.com
Tue Feb 14 18:49:36 EST 2006


It looks like you have a space before the first Response.Write.
This works fine for me if that line is left-justified.

      hth
        Roger


"Tempo" <bradfordh at gmail.com> wrote in message news:1139958137.733403.33640 at g44g2000cwa.googlegroups.com...
>I recently uploaded a sample ASP-Python page to my web server and it
> didn't show up correctly. Before I explain what it did, I should
> mention that I got the same result when I tried to view the page from
> my desktop (winxp user). So when I tried to view the sample ASP with
> Python page from my desktop and web server, all that showed up was the
> source code. I'm not sure exactly what this means since I know that
> python 2.4 is installed on my computer and the ASP page still didn't
> show up correctly. Here's the sample ASP-Python code, courtesy of
> http://www.4guysfromrolla.com/webtech/082201-1.shtml :
>
>
> <html>
> <head>
> <title>ASP-Python Test Page</title>
> </head>
> <body>
> <%@ Language=Python %>
> <%
>  Response.Write("Python lives in the ASP delimeters!")
> %>
> <br />
>
> <script language="Python">
> document.write("Python's throwing a party on the client-side!")
> </script>
> <br />
>
> <script language="Python" runat="server">
> Response.Write("Python gets ready to rumble inside a server-side
> scripting block!")
> </script>
> </body>
> </html>
>
>
>
>
> Any ideas about what I am doing wrong? Thanks.
> 




----== Posted via Newsfeeds.Com - Unlimited-Unrestricted-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---



More information about the Python-list mailing list