2011-12-17 91 views

回答

2

我真的不贊同這裏的一些意見。在線文檔對我來說還不夠清楚。我正在使用它,以及你提到的CherryPy Users list和這本書。我認爲,這困擾我的大部分的變化是:

CherryPy的3.0

cherrypy.config.update(conf) 
cherrypy.tree.mount(Root(), '/', app_conf) 
*cherrypy.server.quickstart()* 
cherrypy.engine.start() 

的CherryPy 3.2.2

cherrypy.config.update(conf) 
cherrypy.tree.mount(Root(), '/', app_conf) 
*cherrypy.engine.start()* 
cherrypy.engine.block() 

話雖這麼說,我認爲這本書甚至一個偉大的工具for> = 3.2版本的CherryPy。