def Task(AEdit):
n = int(AEdit)
res = 0
for i in range(1,n+1):
if i%2==0:
res=res+1
return """<HTML><BODY>
Number of even numbers in the range is %s
</BODY></HTML>""" % (res)
How do I get it to run. I think I need mod_python publisher installed.
How do I do that.
Thanks in advance for any help.
Vlad Alexa Mancini lead developer
Joined: 07 Jul 2003
Posts: 1539
Posted:
Fri Jun 02, 2006 6:03 pm
publisher is part of mod_python which is installed , enable it , use the coresponding test scripts in the cp for testing and example
View next topic View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum