<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_小丸個Blog_分类_Python</title><id>http://feed.cnblogs.com/blog/u/28582/category/164014/rss</id><updated>2012-06-04T10:59:34Z</updated><generator>feed.cnblogs.com</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/randomforce/category/164014.html"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/28582/category/164014/rss"/><entry><id>http://www.cnblogs.com/randomforce/archive/2009/08/12/1544423.html</id><title type="text">Memo for python</title><summary type="text">if --&gt; case --&gt; using dict[代码]</summary><published>2009-08-12T06:19:00Z</published><updated>2009-08-12T06:19:00Z</updated><author><name>Nicholas Yuen</name><uri>http://www.cnblogs.com/randomforce/</uri></author><link rel="alternate" href="http://www.cnblogs.com/randomforce/archive/2009/08/12/1544423.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/randomforce/archive/2009/08/12/1544423.html"/><content type="text">if --&gt; case --&gt; using dict[代码]</content></entry><entry><id>http://www.cnblogs.com/randomforce/archive/2008/11/18/1335620.html</id><title type="text">Python Class System</title><summary type="text">本文旨在说明：在Python里自定义class时，方法的第一个参数必须是该class的instance自身的引用(一般用self命名)。在其他语言里，定义方法的时候，第一个参数不必是类实例的引用，一般约定俗成用this关键字来表示当前实例的引用，可是Python自成一派。由于网络上绝大部分文章都说成这是硬性规定而草草了之，因此笔者觉得很有必要去研究一下Python里的class System是如何构筑起来的，并在此基础上说明self一词的作用。</summary><published>2008-11-18T01:39:00Z</published><updated>2008-11-18T01:39:00Z</updated><author><name>Nicholas Yuen</name><uri>http://www.cnblogs.com/randomforce/</uri></author><link rel="alternate" href="http://www.cnblogs.com/randomforce/archive/2008/11/18/1335620.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/randomforce/archive/2008/11/18/1335620.html"/><content type="text">本文旨在说明：在Python里自定义class时，方法的第一个参数必须是该class的instance自身的引用(一般用self命名)。在其他语言里，定义方法的时候，第一个参数不必是类实例的引用，一般约定俗成用this关键字来表示当前实例的引用，可是Python自成一派。由于网络上绝大部分文章都说成这是硬性规定而草草了之，因此笔者觉得很有必要去研究一下Python里的class System是如何构筑起来的，并在此基础上说明self一词的作用。</content></entry></feed>
