> One more point -- your "request.args(1)" should be "request.args[1]" > (with square brackets). The first form calls request.args as a function > and passes it the value "1". The second form treats request.args as a > Storage object and asks for the subscript "1". > > -- Joe Barnhart > > Nope, request.args(1) does basically try: result = request.args[1] except: result = None return result
the () notation is safer because using request.args[1] if there is no request.args[1] you get an exception. --

