python with ASP

Sameer Chowdhury sameerc1 at yahoo.com
Thu Jan 6 04:12:20 EST 2000


when I run it using PWS under win98, I get the following error:

Python ActiveX Scripting Engine error '80020009' 

invalid syntax 

/pytest.asp, line 3 


Mark Hammond wrote in message ...
>What exactly are you asking - "why doesnt this work?"? - what are the
>symptoms?  It should work...
>
>Mark.
>
>"Sameer Chowdhury" <sameerc1 at yahoo.com> wrote in message
>news:007c01bf57f7$eb3941c0$db75fea9 at desktop...
>> how could the following work.  It's supposed to either display a
>form or
>> display "Got Title".
>>
>> <%@ LANGUAGE = Python %>
>> <%
>> if REQUEST.Form("title"):
>> %>
>>  <html>
>>  <b> Got Title</b>
>>  </html>
>> <% else: %>
>>  <html>
>>  <FORM ACTION="/pytest.asp" method="POST">
>> <b>Title:&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp</b><BR>
>>  <input type="text" value="" size=60 name="title"><P>
>>  <input type=submit value="Submit">
>>  </form>
>>  </html>
>>
>>
>> __________________________________________
>> NetZero - Defenders of the Free World
>> Get your FREE Internet Access and Email at
>> http://www.netzero.net/download/index.html
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20000106/468a25bb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pytest.asp
Type: text/asp
Size: 345 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20000106/468a25bb/attachment.bin>


More information about the Python-list mailing list