Source

pyptug / webpy / debug / de1.py

import web

#web.config.debug = False
web.config.debug = True

class Hello:
    def GET(self):
        nonsense
        return "hello world"

URLS = ( '/', Hello )

if __name__ == "__main__":
    app = web.application(URLS, globals(), autoreload=True)
    app.run()