Disappearing Output?

George Hester hesterloli at hotmail.com
Sun Jul 28 14:56:39 EDT 2002


I have a very simple Python script in a ASP page.   The ASP looks like this:

<%@LANGUAGE=Python%>
<HTML>
<head>
<title>Python Version</title>
</head>
<body>
<h1>Python Test</h1>
<%
#do some python stuff here
import sys
Response.write('<h3>Smaller heading</h3></hr><p>')
var = "%s%s%s" % ('<b>Python version = ',sys.version,'</b>')
Response.Write(var)
%>

I actually got this from this group a month ago.

Anyway I decided to upgrade (I hate that word) my version of Python at
ActiveState to the latest build.  I knew I should not have done that but I did
because my file associations got crapped out but trying to install a GUI for
making Python Scripts.  That attempt has really done my system bad.  Windows
2000 SP2 IIS 5.

I can run in the browser .py files no issue.

But if I try to run an ASP as shown above I get output sometimes but often I get
absolutely nothing.  No output.  No errror.  Just absolutely nothing.

Is this a Python issue, a Python Script issue or something else under the sun?

Thanks.

--
George Hester
_________________________________





More information about the Python-list mailing list