google app engine - Webapp2 Routing and Python inclusion -
in webapp2 uri routing there examples using webapp2.route(r'/', handler='...')
, , aren't using r'/' -- question is, r for, , should using it?
also, if use webapp2_extras.apis need pass config wsgiapplication(), possible define config lists elsewhere?
as in, possible config['webapp2_extras.api'] = ['option':'value']
in 1 file, include file inside "router" , use variable/list
thanks in advance!!
copied here comment:
it defines raw string. please read docs docs.python.org/2/reference/lexical_analysis.html#literals paying special attention raw strings. may use raw string more define regular expression literal string.
Comments
Post a Comment