>>> import cherrypy
>>>
>>> class HelloWorld(object):
... def index(self):
... return "Hello World!"
... index.exposed = True
...
>>> cherrypy.quickstart(HelloWorld())
[12/Jul/2013:02:03:27] ENGINE Listening for SIGHUP.
[12/Jul/2013:02:03:27] ENGINE Listening for SIGTERM.
[12/Jul/2013:02:03:27] ENGINE Listening for SIGUSR1.
[12/Jul/2013:02:03:27] ENGINE Bus STARTING
CherryPy Checker:
The Application mounted at '' has an empty config.
[12/Jul/2013:02:03:27] ENGINE Started monitor thread 'Autoreloader'.
[12/Jul/2013:02:03:27] ENGINE Started monitor thread '_TimeoutMonitor'.
[12/Jul/2013:02:03:27] ENGINE Serving on 127.0.0.1:8080
[12/Jul/2013:02:03:27] ENGINE Bus STARTED
{"html5":"htmlmixed","css":"css","javascript":"javascript","php":"php","python":"python","ruby":"ruby","lua":"text\/x-lua","bash":"text\/x-sh","go":"text\/x-go","c":"text\/x-csrc","cpp":"text\/x-c++src","diff":"diff","latex":"stex","sql":"mysql","xml":"xml","c_loadrunner":"text\/x-csrc","c_mac":"text\/x-csrc","coffeescript":"text\/x-coffeescript","csharp":"text\/x-csharp","ecmascript":"javascript","groovy":"text\/x-groovy","haskell":"text\/x-haskell","html4strict":"htmlmixed","java":"text\/x-java","java5":"text\/x-java","jquery":"javascript","mysql":"mysql","pascal":"text\/x-pascal","perl":"perl","perl6":"perl","plsql":"plsql","properties":"text\/x-properties","scheme":"text\/x-scheme","vb":"text\/vbscript","vbnet":"text\/vbscript","verilog":"text\/x-verilog","yaml":"text\/x-yaml"}