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

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -