2015-09-22 21:09:19 +08:00

17 lines
197 B
Python

# Run with
#
# $ gunicorn webpyapp:app
#
import web
urls = (
'/', 'index'
)
class index:
def GET(self):
return "Hello, world!"
app = web.application(urls, globals()).wsgifunc()