摘要: 英文文档: 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 十月狐狸 阅读(4519) 评论(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 十月狐狸 阅读(5582) 评论(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 十月狐狸 阅读(4259) 评论(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 十月狐狸 阅读(1680) 评论(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 十月狐狸 阅读(1055) 评论(0) 推荐(0) 编辑