webpy_Cookbook

http://webpy.org/cookbook/index.zh-cn


URL控制,学习正则
http://webpy.org/cookbook/url_handling.zh-cn
正则:
http://www.cnblogs.com/deerchao/archive/2006/08/24/zhengzhe30fengzhongjiaocheng.html

根据模块 制定URL,使之可以剥离


GET
多参数
class index:
def GET(self):
return "Hello, world!"

def GET(self, name):
name = 'Bob'
return "Hello, xxxxxx!"

你可能感兴趣的:(webpy)