CherryPy

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(项目)
 
(未显示1个用户的8个中间版本)
第1行: 第1行:
 +
{{SeeWikipedia}}
 +
[[Image:cherrypg.jpg|right]]
 +
 
CherryPy is a pythonic, object-oriented HTTP framework.
 
CherryPy is a pythonic, object-oriented HTTP framework.
  
http://www.cherrypy.org/
+
==简介==
 +
CherryPy includes a light embedded web server, capable enough to handle sizeable loads. It is estimated that CherryPy can handle about 530 requests/second on a reasonable configuration (as of January, 2007).  
 +
 
 +
==功能==
 +
 
 +
==指南==
 +
 
 +
==项目==
 +
*[[odoo]]
 +
 
 +
==图集==
  
#apt-get install python2.4-cheetah
+
==链接==
 +
*http://www.cherrypy.org/
  
>>> from Cheetah.Template import Template
+
[[category:framework]]
>>> templateDef = """
+
[[category:web server]]
... <HTML>
+
[[category:WSGI]]
... <HEAD><TITLE>$title</TITLE></HEAD>
+
[[category:python]]
... <BODY>
+
... $contents
+
... ## this is a single-line Cheetah comment and won't appear in the output
+
... #* This is a multi-line comment and won't appear in the output
+
...    blah, blah, blah
+
... *#
+
... </BODY>
+
... </HTML>"""
+
>>> nameSpace = {'title': 'Hello World Example', 'contents': 'Hello World!'}
+
>>> t = Template(templateDef, searchList=[nameSpace])
+
>>> print t
+
==User==
+
*http://reddit.com/
+
*http://klive.cpushare.com/ - KLive: Linux Kernel Live Usage Monitor
+
*[[Snurf]]
+
*[[PyBlosxom]]
+
*http://linuxgazette.net/
+

2022年3月9日 (三) 01:24的最后版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 CherryPy Thanks, Wikipedia.
Cherrypg.jpg

CherryPy is a pythonic, object-oriented HTTP framework.

目录

[编辑] 简介

CherryPy includes a light embedded web server, capable enough to handle sizeable loads. It is estimated that CherryPy can handle about 530 requests/second on a reasonable configuration (as of January, 2007).

[编辑] 功能

[编辑] 指南

[编辑] 项目

[编辑] 图集

[编辑] 链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱