@@ -0,0 +1,374 @@
+%0Afrom pyramid.config import Configurator%0Afrom pyramid.response import Response%0Afrom paste.httpserver import serve%0A%0Adef hello_world(request):%0A    return Response('Hello world!')%0A%0Adef goodbye_world(request):%0A    return Response('Goodbye world!')%0A%0Aconfig = Configurator()%0Aconfig.add_view(hello_world)%0Aconfig.add_view(goodbye_world, name='goodbye')%0Aapp = config.make_wsgi_app()%0A

add pyramid app example