CherryPy v10.2.1 发布,下载地址:https://github.com/cherrypy/cherrypy/archive/v10.2.1.zip CherryPy是一个基于Python的面向对象的HTTP框架。使用CherryPy来开发Web Application是非常轻松的。但CherryPy并没用提供一种类似于PHP的templating语言机制。 主要特性:
示例代码: import cherrypy class HelloWorld(object): def index(self): return "Hello World!" index.exposed = True cherrypy.quickstart(HelloWorld()) |