[Zope] python prob
prabuddha ray
buddharay at gmail.com
Tue Mar 29 06:30:05 EST 2005
i'm kinda new to python ;
wanted to build an intermediate scrip python for redirection from a ZPT .
code tried is
req = container.REQUEST
RESP = request.RESPONSE
user=req.username
pwd=req.password
# chkpwd is a ZSQL method taking username as arg and giving its
correspong passwd
if container.chkpwd(user)==pwd : # it givs syntax error here
RESP.redirect(test)
else
RESP.redirect(index_html)
plz help
--
Share the vision of difference with ME
More information about the Zope
mailing list