On 06 August 2002, Andreas Kostyrka said: > > (Oh yeah: cvs -d :pserver:anon@cvs.mems-exchange.org:/home/cvs co quixote) > password? There isn't one -- just hit enter. I'll go put some instructions on the web site. > Well, it's not that obvious. Especially request is a magic opaque object > that is wrongly documented. (for example it is NOT a mapping) Ooh, you're right, the docstring for HTTPRequest is waaaaaay out of date. I'll fix that too -- thanks! > And it does not provide any support for dealing with CGI parameters. > After having written twice > > def method(self,request): > scaling=int(request.form.get("scaling","1")) > angle=int(request.form.get("angle","0")) What if int() raises ValueError because the user entered "foo" instead of "42"? Anyways, you should look at the Quixote form library -- see form/form.py for docs (and code), and demo/forms.ptl for example code. I think it makes life easier when generating, rendering, and processing HTML forms. Greg