摘要: 英文文档: 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 @ 2017-08-07 22:46 不懂python的小黑帽 阅读(1768) 评论(0) 推荐(0) 编辑
摘要: 英文文档: class bytearray([source[, encoding[, errors]]]) Return a new array of bytes. The bytearray class is a mutable sequence of integers in the range 阅读全文
posted @ 2017-08-07 22:45 不懂python的小黑帽 阅读(356) 评论(0) 推荐(0) 编辑
摘要: python中的内置函数: abs() #取绝对值 all()#全部为真,则为真,有一个假的为假 any#存在真的则为真,全部为假则为假 bin()#十进制转为二进制 bool()#将字符转换成布尔值类型 ascii() 阅读全文
posted @ 2017-08-07 22:42 不懂python的小黑帽 阅读(324) 评论(0) 推荐(0) 编辑