Skip to content

Instantly share code, notes, and snippets.

@jmillikan
Created August 14, 2012 02:47
Show Gist options
  • Save jmillikan/3345911 to your computer and use it in GitHub Desktop.
Save jmillikan/3345911 to your computer and use it in GitHub Desktop.
A very simple pyramid app...
import pyramid
def main(global_config, **settings):
config = pyramid.config.Configurator()
config.add_view(lambda r:'Hello, world!', renderer='string')
return config.make_wsgi_app()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment