Size: 33
Comment:
|
Size: 2452
Comment:
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
在这里详述 PythonLanguage. | == 概述 == == 系统学习 == == 专题剖析 == === 内置类型和操作符 === === 语句和语法 === * [http://www.python.org/dev/peps/pep-0318/ PEP318 : Decorators for Functions and Methods] * [:WeiZhong/DecoratorsInPython24:Python2.4中的新东西(1):函数和方法的修饰符] by WeiZhong * [http://www.donews.net/limodou/archive/2004/12/20/208356.aspx Decorator 应用:使用decorator的线程同步] -- by limodou * [:Py25yieldNote:Py2.5 yield 详说] -- shhgs 和 limodou 关于 yield 在2.5中语法加强的探讨 === 名字空间与对象模型 === * [http://www.cafepy.com/article/python_types_and_objects Python Types and Objects] * [http://www.cafepy.com/article/python_attributes_and_methods/ Python Attributes and Methods] . 两篇精彩的文档,讲解很透彻 * [:PyNewStyleClass:Python中的新型类及其实例详解] -- WeiZhong 节译自《Python in a Nutshell》(第一版) * [:MetaClassInPython:Python中的元类(metaclass)] -- WeiZhong 节译自《Python in a Nutshell》(第一版) * [http://www.voidspace.org.uk/python/articles/metaclasses.shtml Eliminating self with Metaclasses] . Python 在成员方法中对 self 的显式声明往往会令初学者困惑和不习惯,Michael Foord在这篇文章中利用 metaclass 和 bytecode 实现了一种不需要显式声明 self 参数的类定义方式。 * [http://codeplayer.blogspot.com/2006/12/python-method-function-descriptor.html 理解 python 的 method 和 function 兼谈 descriptor] by HuangYi * [http://users.rcn.com/python/download/Descriptor.htm How-To Guide for Descriptors] -- descriptor 机制详解,by Raymond Hettinger === 异常机制 === === 语言进化 === * [http://docs.python.org/dev/whatsnew/whatsnew25.html What's New in Python 2.5] * [:WeiZhong/WhatsNewOfPython25:WeiZhong 节译] * [:New4Py2.5:ZoomQuiet 译自另一篇文档] * [http://docs.python.org/dev/whatsnew/ What's New in Python 2.6] === 其它 === * [:PyBatteriesIncluded:内省的威力] * [http://codeplayer.blogspot.com/2006/09/getcaller.html 意外收获:get_caller] * [http://www.donews.net/limodou/archive/2004/12/28/218443.aspx Python中的Lazy计算] === 参考 === * ["ThinkIntoPython"] * ["PythonZhDoc"] * [http://blog.donews.com/limodou/ limodou 的学习记录] limodou 的 blog * [http://codeplayer.blogspot.com 白菜] -- HuangYi 的 blog |
概述
系统学习
专题剖析
内置类型和操作符
语句和语法
[http://www.python.org/dev/peps/pep-0318/ PEP318 : Decorators for Functions and Methods]
[:WeiZhong/DecoratorsInPython24:Python2.4中的新东西(1):函数和方法的修饰符] by WeiZhong
[http://www.donews.net/limodou/archive/2004/12/20/208356.aspx Decorator 应用:使用decorator的线程同步] -- by limodou
[:Py25yieldNote:Py2.5 yield 详说] -- shhgs 和 limodou 关于 yield 在2.5中语法加强的探讨
名字空间与对象模型
[http://www.cafepy.com/article/python_types_and_objects Python Types and Objects]
[http://www.cafepy.com/article/python_attributes_and_methods/ Python Attributes and Methods]
- 两篇精彩的文档,讲解很透彻
[:PyNewStyleClass:Python中的新型类及其实例详解] -- WeiZhong 节译自《Python in a Nutshell》(第一版)
[:MetaClassInPython:Python中的元类(metaclass)] -- WeiZhong 节译自《Python in a Nutshell》(第一版)
[http://www.voidspace.org.uk/python/articles/metaclasses.shtml Eliminating self with Metaclasses]
- Python 在成员方法中对 self 的显式声明往往会令初学者困惑和不习惯,Michael Foord在这篇文章中利用 metaclass 和 bytecode 实现了一种不需要显式声明 self 参数的类定义方式。
[http://codeplayer.blogspot.com/2006/12/python-method-function-descriptor.html 理解 python 的 method 和 function 兼谈 descriptor] by HuangYi
[http://users.rcn.com/python/download/Descriptor.htm How-To Guide for Descriptors] -- descriptor 机制详解,by Raymond Hettinger
异常机制
语言进化
[http://docs.python.org/dev/whatsnew/whatsnew25.html What's New in Python 2.5]
[http://docs.python.org/dev/whatsnew/ What's New in Python 2.6]
其它
[:PyBatteriesIncluded:内省的威力]
[http://codeplayer.blogspot.com/2006/09/getcaller.html 意外收获:get_caller]
[http://www.donews.net/limodou/archive/2004/12/28/218443.aspx Python中的Lazy计算]
参考
["ThinkIntoPython"]
["PythonZhDoc"]
[http://blog.donews.com/limodou/ limodou 的学习记录] limodou 的 blog
[http://codeplayer.blogspot.com 白菜] -- HuangYi 的 blog