News for hackers. Stuff that matters.
Re:Ask HN: What Web frameworks exist around Python? by coconutrandom on Sunday May 17, 2009 @03:28PM (#613826)
http://webpy.org/

  import web
  
  urls = (
      '/(.*)', 'hello'
  )
  app = web.application(urls, globals())

  class hello:        
      def GET(self, name):
          if not name: 
              name = 'world'
          return 'Hello, ' + name + '!'
  
  if __name__ == "__main__":
      app.run()
Re:Ask HN: What Web frameworks exist around Python? by rabidsnail on Sunday May 17, 2009 @05:26PM (#613962)
It's great for writing small one-offs (the sort of thing you might use PHP for) and web interfaces for non-web applications. But for large projects it's really not suitable.
Re:Ask HN: What Web frameworks exist around Python? by irrelative on Sunday May 17, 2009 @06:36PM (#614021)
I don't know about that. I've written some fairly large programs in webpy lately.

Our latest site, http://sitecanary.com/ has the UI completely written in webpy.

Re:Ask HN: What Web frameworks exist around Python? by marcocampos on Sunday May 17, 2009 @03:53PM (#613863)
Yep, it's pretty cool. But I would say it's more like a library and less like a framework.