2022年 11月 7日 python二进制转十进制 未分类 admin 十进制转换为8位二进制 :format(int(26),'08b') 十进制转换为四位二进制 :format(int(4),'04b') 二进制转换为十进制 :int("00011000",2)