python

TwitterFacebook
Get flash to fully experience Pearltrees
from bottle import route , request @route ( '/form/submit' , method = 'POST' ) def form_submit (): form_data = request . POST do_something ( form_data ) return "Done" from bottle import route , validate # /test/validate/1/2.3/4,5,6,7 @route ( '/test/validate/:i/:f/:csv' ) @validate ( i = int , f = float , csv = lambda x : map ( int , x . split ( ',' ))) def validate_test ( i , f , csv ): return "Int: %d , Float: %f , List: %s " % ( i , f , repr ( csv )) http://pynotes.appspot.com/static/bottle/docs.htm

Docs - Bottle Web Framework

http://www.djangobook.com/en/1.0/ If you're using Django 1.0, consider reading the Django Book's second edition , which covers 1.0.

The Django Book: Version 1.0 (English)

Python Web 框架,第 1 部分: 使用 Django 和 Python 开发 Web 站点

要使用并理解本文中提供的代码,则需要安装 Python,并了解在初学者的水平上如何使用 Python。要查看是否安装了 Python 以及 Python 的版本号,可以输入 python -V 。 http://www.ibm.com/developerworks/cn/linux/l-django/
3.1 使用带提示符的Python解释器 3.2 使用源文件 4.1 使用变量和字面意义上的常量 5.1 使用表达式 6.1 使用if语句 6.2 使用while语句 6.3 使用for语句 6.4 使用break语句 6.5 使用continue语句 7.1 定义函数 7.2 使用函数形参 7.3 使用局部变量 7.4 使用global语句 7.5 使用默认参数值 7.6 使用关键参数 7.7 使用字面意义上的语句 7.8 使用DocStrings 8.1 使用sys模块 8.2 使用模块的__name__ 8.3 如何创建你自己的模块 8.4 使用dir函数 9.1 使用列表 9.2 使用元组 9.3 使用元组输出 9.4 使用字典 9.5 使用序列 9.6 对象与参考 10.1 备份脚本——版本一 10.2 备份脚本——版本二 10.3 备份脚本——版本三(不工作!) 10.4 备份脚本——版本四 11.1 创建一个类 11.2 使用对象的方法 11.3 使用__init__方法 11.4 使用类与对象的变量 11.5 使用继承 12.1 使用文件 12.2 储存与取储存 13.1 处理异常 13.2 如何引发异常 14.1 使用sys.argv 15.1 使用列表综合 15.2 使用lambda形式

简明 Python 教程

http://woodpecker.org.cn/abyteofpython_cn/chinese/
http://www.chinesepython.org/cgi_bin/cgb.cgi/home.html

中蟒 (中文 Python) 编程语言网站 chinesepython

The server encountered an internal error or misconfiguration and was unable to complete your request.

Pyjamas Desktop

http://pyjd.sourceforge.net/controls_tutorial.html Missing from the HTML specification, but present in Adobe Flash, is things like sliders and dials.