[Tutor] web frameworks
steve at pearwood.info
Mon Sep 10 00:17:26 CEST 2012
On Sun, Sep 09, 2012 at 10:07:30PM +0100, Matthew Ngaha wrote:
> sorry steven i keep replying to sender and not tutor:(
That's fine, but there's no point apologising publically if you
don't resend your question to the tutor list.
oh? is cherrypy compaitable with Python 3?
> index.exposed = True
is that line with exposed making the return statement visible? sorry
to ask:( just interested to know what is being set to True
Yes, Cherrypy is compatible with Python 3. See the CherryPy website:
"Runs on Python 2.5+, 3.1+, Jython and Android."
For security, CherryPy defaults to *not* exposing anything on the
Internet. So the line "index.exposed = True" tells CherryPy that it is
okay to expose the "hello world" application to the Internet.
More information about the Tutor