Massimiliano,
   The 'r' tells Python how it should interpret the string.  If your
curious, try it both ways and see if it works  :).    See the Pythons
docs for some more info
(http://docs.python.org/reference/lexical_analysis.html#string-literals).


  The groups -- (.*) -- are passed into the handler as positional
parameters.  In other words they are passed to the handler in the same
order as they are in the url.  I do not believe you can use named
groups.



Robert







On Mon, Oct 18, 2010 at 06:54, Massimiliano
<massimiliano.pietr...@gmail.com> wrote:
> Ok, just to understand everything.
>
>
> 2010/10/18 sodso <sodhisoluti...@gmail.com>
>>
>> yes exactly
>>
>> '/(.*)/(.*)
>
> r'/(.*)/someaction', SomeActionHandler
> I need a "r" before the line?
>
>>
>> the content between those two ( ) will be passed to ur RequestHandler as
>> second param(string), third param(string), and so on
>
> The param string as the var name I want, as the system will pass the value.
> So I can have
> get(self, var1, var2, var3,....)
> Right?
>
>>
>> so u can do anything with those string params as u want
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To post to this group, send email to google-appeng...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> google-appengine+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/google-appengine?hl=en.
>
>
>
> --
>
> My email: massimiliano.pietr...@gmail.com
> My Google Wave: massimiliano.pietr...@googlewave.com
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to google-appeng...@googlegroups.com.
> To unsubscribe from this group, send email to
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to