python import web urls = ( '/hello', 'Index', ) app = web.application(urls, globals()) class Index: def GET(self): return "Hello, world!" if __name__ == "__main__": app.run()


上一篇:
下一篇:
切换中文