- 博客(2)
- 收藏
- 关注
原创 读取文件截取字符串 写成c数组
#! /usr/bin/python2 # coding=utf-8 def read_file(fpath): BLOCK_SIZE = 1024 with open(fpath, 'rb') as f: while True: #block = f.read(BLOCK_SIZE) block = f.readline(
2017-08-17 10:46:36 275
原创 python 2进制字符串拼接查找
#! /usr/bin/python2 # coding=utf-8global hex27, hex28, db_27, db_28 hex27 =0 hex28=0 db_27 = 18.5 db_28 = -64 for i in range(0, 0b1110111 + 1): string_num=bin(i).replace('0b','') +"0" ii =
2017-08-16 10:10:35 1512
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人