随笔分类 -  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 阅读全文
posted @ 2016-10-21 11:30 十月狐狸 阅读(19502) 评论(0) 推荐(1) 编辑
摘要:英文文档: class bytes([source[, encoding[, errors]]]) Return a new “bytes” object, which is an immutable sequence of integers in the range 0 <= x < 256. b 阅读全文
posted @ 2016-10-20 11:11 十月狐狸 阅读(34598) 评论(2) 推荐(2) 编辑
摘要:英文文档: class bytearray([source[, encoding[, errors]]]) Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range 阅读全文
posted @ 2016-10-20 10:25 十月狐狸 阅读(24923) 评论(0) 推荐(3) 编辑
摘要:英文文档: 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 阅读全文
posted @ 2016-10-19 22:58 十月狐狸 阅读(4523) 评论(0) 推荐(0) 编辑
摘要:英文文档: 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 阅读全文
posted @ 2016-10-19 13:52 十月狐狸 阅读(5587) 评论(0) 推荐(0) 编辑
摘要:英文文档: ascii(object) As repr(), return a string containing a printable representation of an object, but escape the non-ASCII characters in the string r 阅读全文
posted @ 2016-10-19 13:51 十月狐狸 阅读(4266) 评论(0) 推荐(0) 编辑
摘要:英文文档: any(iterable) Return True if any element of the iterable is true. If the iterable is empty, return False. Equivalent to: 说明: 1. 接受一个可迭代器对象为参数,当参 阅读全文
posted @ 2016-10-19 13:45 十月狐狸 阅读(1683) 评论(0) 推荐(0) 编辑
摘要:英文文档: all(iterable) Return True if all elements of the iterable are true (or if the iterable is empty). Equivalent to: 说明: 1. 接受一个可迭代器对象为参数,当参数为空或者不为可 阅读全文
posted @ 2016-10-19 10:12 十月狐狸 阅读(1061) 评论(0) 推荐(0) 编辑
摘要:abs 阅读全文
posted @ 2016-10-15 01:24 十月狐狸 阅读(4039) 评论(0) 推荐(0) 编辑