摘要:
http://docs.python.org/2/library/json.html#module-jsonhttp://www.cnblogs.com/coser/archive/2011/12/14/2287739.htmlpython>>> help(json)import json对简单数据类型的encoding 和 decoding使用简单的json.dumps方法对简单数据类型进行编码,从python原始类型向json类型的转化对encodedjson进行decode,得到原始数据,需要使用的json.loads()函数 1 #!/usr/bin/python 2 阅读全文
posted @ 2013-06-07 15:39
vivianC
阅读(330)
评论(0)
推荐(0)
摘要:
http://blog.csdn.net/menglei8625/article/details/7494509http://www.python.org/doc/current/library/xml.etree.elementtree.htmlhttp://effbot.org/zone/element-index.htmhttp://www.cnblogs.com/wangshide/articles/2224995.html1.引入库需要用到3个类,ElementTree,Element以及建立子类的包装类SubElementfrom xml.etree.ElementTree imp 阅读全文
posted @ 2013-06-07 14:50
vivianC
阅读(964)
评论(0)
推荐(1)
浙公网安备 33010602011771号