- 博客(2)
- 资源 (7)
- 收藏
- 关注
原创 使用Python二进制与十进制之间的转化,可以操作浮点数!
<br />PS: 本来贴在forum.ubuntu.org.cn里。贴回来只是为了集中下资料。<br /> <br /> <br />我自己写的,算法就是课本上讲的转化的方式。<br /> <br />代码如下:<br /># coding=UTF-8 from decimal import Decimal def mybin(float, bit = 10): """ 这个程序用来将十进制数转化为二进制数,也可以转化浮点数 用法: mybin(float, bit=10
2010-10-09 13:57:00
5842
原创 A picture from notepad++ site.
That explains why Notepad++ is not available (and wont be available) under Linux :P
2009-12-31 20:01:00
329
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人