随笔分类 - Python内置函数详解
详解Python的内置函数,使用的是3.5版本
摘要:英文文档: callable(object) Return True if the object argument appears callable, False if not. If this returns true, it is still possible that a call fails
阅读全文
摘要:英文文档: class bytes([source[, encoding[, errors]]]) Return a new “bytes” object, which is an immutable sequence of integers in the range 0 <= x < 256. b
阅读全文
摘要:英文文档: class bytearray([source[, encoding[, errors]]]) Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range
阅读全文
摘要:英文文档: class bool([x]) Return a Boolean value, i.e. one of True or False. x is converted using the standard truth testing procedure. If x is false or o
阅读全文
摘要:英文文档: bin(x) Convert an integer number to a binary string. The result is a valid Python expression. If x is not a Python int object, it has to define
阅读全文
摘要:英文文档: ascii(object) As repr(), return a string containing a printable representation of an object, but escape the non-ASCII characters in the string r
阅读全文
摘要:英文文档: any(iterable) Return True if any element of the iterable is true. If the iterable is empty, return False. Equivalent to: 说明: 1. 接受一个可迭代器对象为参数,当参
阅读全文
摘要:英文文档: all(iterable) Return True if all elements of the iterable are true (or if the iterable is empty). Equivalent to: 说明: 1. 接受一个可迭代器对象为参数,当参数为空或者不为可
阅读全文