随笔分类 -  cookbook

1 2 3 4 5 ··· 9 下一页
摘要:读取嵌套和可变长的二进制数据 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 阅读(126) 评论(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 阅读(128) 评论(0) 推荐(0)
摘要:BASE64的编码和解码 阅读全文
posted @ 2016-07-29 21:53 4Thing 阅读(120) 评论(0) 推荐(0)
摘要:十六进制的编码和解码 阅读全文
posted @ 2016-07-29 21:43 4Thing 阅读(90) 评论(0) 推荐(0)
摘要:关系数据库的使用 阅读全文
posted @ 2016-07-29 21:26 4Thing 阅读(95) 评论(0) 推荐(0)
摘要:使用命名空间解析xml 阅读全文
posted @ 2016-07-29 21:19 4Thing 阅读(105) 评论(0) 推荐(0)
摘要:解析、修改和重写xml文件 阅读全文
posted @ 2016-07-27 23:51 4Thing 阅读(95) 评论(0) 推荐(0)
摘要:将字典存到xml中 阅读全文
posted @ 2016-07-27 23:49 4Thing 阅读(104) 评论(0) 推荐(0)
摘要:解析xml文件 阅读全文
posted @ 2016-07-27 23:44 4Thing 阅读(125) 评论(0) 推荐(0)
摘要:json文件的读写 阅读全文
posted @ 2016-07-27 23:42 4Thing 阅读(133) 评论(0) 推荐(0)
摘要:csv文件的读写 阅读全文
posted @ 2016-07-27 23:20 4Thing 阅读(140) 评论(0) 推荐(0)
摘要:将自己的代码库转换为JQuery插件 阅读全文
posted @ 2016-07-27 22:35 4Thing 阅读(101) 评论(0) 推荐(0)
摘要:压缩js文件 使用uglify压缩代码 阅读全文
posted @ 2016-07-27 22:32 4Thing 阅读(105) 评论(0) 推荐(0)
摘要:数据私有化 阅读全文
posted @ 2016-07-27 22:30 4Thing 阅读(133) 评论(0) 推荐(0)
摘要:封装代码 阅读全文
posted @ 2016-07-27 21:17 4Thing 阅读(81) 评论(0) 推荐(0)
摘要:使用underscore进行函数式编程 阅读全文
posted @ 2016-07-26 22:48 4Thing 阅读(121) 评论(0) 推荐(0)
摘要:使用js库捕获按键事件 阅读全文
posted @ 2016-07-26 22:46 4Thing 阅读(114) 评论(0) 推荐(0)
摘要:使用JQuery插件 阅读全文
posted @ 2016-07-26 22:20 4Thing 阅读(96) 评论(0) 推荐(0)
摘要:使用JQuery 阅读全文
posted @ 2016-07-26 21:25 4Thing 阅读(96) 评论(0) 推荐(0)
摘要:moment.js的使用 阅读全文
posted @ 2016-07-26 21:08 4Thing 阅读(140) 评论(0) 推荐(0)

1 2 3 4 5 ··· 9 下一页