Life is short, you need Python

摘要: [代码]Notes:1)String is transfered to a List by split method2)List can be joined a string by join method 阅读全文
posted @ 2010-08-20 10:33 runfox545 阅读(633) 评论(0) 推荐(0) 编辑
摘要: 代码Notes:The keys method of a dictionary returns a list of all the keys. The list is not in the order in which the dictionary was defined (remember that elements in a dictionary are unordered), but it ... 阅读全文
posted @ 2010-08-20 10:12 runfox545 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 1. DefinitionA tuple is an immutable list. A tuple can not be changed in any way once it is createdNote:1)It is include by"()"2)Cannot be changed after it is defined3)No method(like remove,append,inde... 阅读全文
posted @ 2010-08-20 09:21 runfox545 阅读(435) 评论(0) 推荐(0) 编辑
白月黑羽 Python教程 白月黑羽Python