码迷,mamicode.com
首页 >  
搜索关键字:python内置函数    ( 473个结果
Python内置函数(40)——map
英文文档: 2. 当传入多个可迭代对象时,函数的参数必须提供足够多的参数,保证每个可迭代对象同一索引的值均能正确传入函数。 3. 当传入多个可迭代对象时,且它们元素长度不一致时,生成的迭代器只到最短长度。 4. map函数是一个典型的函数式编程例子。 ...
分类:编程语言   时间:2016-11-05 20:19:48    阅读次数:154
Python内置函数(39)——locals
英文文档: locals() Update and return a dictionary representing the current local symbol table. Free variables are returned by locals() when it is called i ...
分类:编程语言   时间:2016-11-04 23:21:00    阅读次数:248
Python内置函数(38)——list
英文文档: class list([iterable]) Rather than being a function, list is actually a mutable sequence type, as documented in Lists and Sequence Types — list, ...
分类:编程语言   时间:2016-11-04 23:04:55    阅读次数:160
Python内置函数(36)——iter
英文文档: iter(object[, sentinel]) Return an iterator object. The first argument is interpreted very differently depending on the presence of the second a ...
分类:编程语言   时间:2016-11-04 01:15:12    阅读次数:373
Python内置函数(34)——isinstance
英文文档: isinstance(object, classinfo) Return true if the object argument is an instance of the classinfo argument, or of a (direct, indirect or virtual) ...
分类:编程语言   时间:2016-11-03 22:59:16    阅读次数:230
Python内置函数(32)——input
英文文档: input([prompt]) If the prompt argument is present, it is written to standard output without a trailing newline. The function then reads a line f ...
分类:编程语言   时间:2016-11-02 14:25:46    阅读次数:188
Python内置函数(31)——id
英文文档: ...
分类:编程语言   时间:2016-11-02 00:34:49    阅读次数:196
Python内置函数(27)——hasattr
英文文档: 2. 函数实际上是调用getattr(object,name)函数,通过是否抛出AttributeError来判断是否含有属性。 ...
分类:编程语言   时间:2016-10-29 12:17:15    阅读次数:234
Python内置函数(26)——globals
英文文档: ...
分类:编程语言   时间:2016-10-29 12:00:48    阅读次数:229
Python内置函数(28)——hash
英文文档: hash(object)Return the hash value of the object (if it has one). Hash values are integers. They are used to quickly compare dictionary keys duri ...
分类:编程语言   时间:2016-10-29 11:38:39    阅读次数:201
473条   上一页 1 ... 36 37 38 39 40 ... 48 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!