摘要: 关于格式 1.json dict = json.loads(str) str = json.dumps(dict) 2.pickle pickle模块是python的标准模块,提供了对于python数据的序列化操作,可以将数据转换为bytes类型,其序列化速度比json模块要高。 pickle.du 阅读全文
posted @ 2019-01-04 15:56 半晌贪欢 阅读(273) 评论(0) 推荐(0) 编辑
摘要: 页面定制CSS代码 / 定制公告栏时钟位置 / clockdiv { / left, center, right / text align: center; } 博客侧边栏公告(支持HTML代码)(支持JS代码) <! 添加公告栏时钟 时钟canvas 阅读全文
posted @ 2019-01-04 13:13 半晌贪欢 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 点击心形(放在页脚html处) / 鼠标特效 / var a_idx = 0; jQuery(document).ready(function($) { $("body").click(function(e) { var a = new Array("❤富强❤","❤民主❤","❤文明❤","❤和谐 阅读全文
posted @ 2019-01-04 13:04 半晌贪欢 阅读(301) 评论(0) 推荐(0) 编辑