摘要:
阅读全文
posted @ 2018-09-17 22:00
优雅的代码
阅读(185)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-09-17 20:44
优雅的代码
阅读(307)
评论(0)
推荐(0)
摘要:
函数格式:int.from_bytes(bytes, byteorder, *, signed=False) 简单demo: [python] view plain copy <code class="language-python">s1 = b'\xf1\xff' print(int.from_ 阅读全文
posted @ 2018-09-17 16:32
优雅的代码
阅读(9908)
评论(0)
推荐(0)
摘要:
fractions模块 fractions模块提供了分数类型的支持。 Fraction类 该类是fractions模块的核心,它继承了numbers.Rational类并且实现了该类所有的方法。 构造函数并不复杂: class fractions.Fraction(numerator=0, deno 阅读全文
posted @ 2018-09-17 11:14
优雅的代码
阅读(1984)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2018-09-17 11:11
优雅的代码
阅读(202)
评论(0)
推荐(0)

浙公网安备 33010602011771号