On 10/09/12 05:41, Matthew Ngaha wrote:
[...] i thought cherrypy, but was told it's not
nearly as simple as Flask, and since my main focus is learning GUIs, a
simple web framework will be ideal only to understand how they work.
Understanding *how they work* is not going to be simple. Web frameworks
are big, complex pieces of software.
Being *able to use them* can be simple. Here's the "Hello world" example
for Cherrypy:
import cherrypy
class HelloWorld(object):
def index(self):
return "Hello World!"
index.exposed = True
cherrypy.quickstart(HelloWorld())
I doubt Flask is simpler than that.
--
Steven
_______________________________________________
Tutor maillist - [email protected]
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor