摘要: 读取嵌套和可变长的二进制数据 python import struct import itertools polys = [ [(1.0, 2.5), (3.5, 4.0), (2.5, 1.5)], [(7.0, 1.2), (5.1, 3.0), (0.5, 7.5), (0.8, 9.0)], 阅读全文
posted @ 2016-07-29 22:09 4Thing 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 读写二进制数组数据 python from struct import Struct def write_records(records, format, f): record_struct = Struct(format) for r in records: f.write(record_stru 阅读全文
posted @ 2016-07-29 22:03 4Thing 阅读(108) 评论(0) 推荐(0) 编辑
摘要: BASE64的编码和解码 阅读全文
posted @ 2016-07-29 21:53 4Thing 阅读(94) 评论(0) 推荐(0) 编辑
摘要: 十六进制的编码和解码 阅读全文
posted @ 2016-07-29 21:43 4Thing 阅读(77) 评论(0) 推荐(0) 编辑
摘要: 关系数据库的使用 阅读全文
posted @ 2016-07-29 21:26 4Thing 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 使用命名空间解析xml 阅读全文
posted @ 2016-07-29 21:19 4Thing 阅读(88) 评论(0) 推荐(0) 编辑
摘要: 场景 备忘配置文件,实现配置文件的撤销和重做操作 实现代码 配置文件类型 配置拥有者类 配置备忘类 配置管理者 相关调用 Out: 阅读全文
posted @ 2016-07-29 21:04 4Thing 阅读(124) 评论(0) 推荐(0) 编辑