![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
GodIand
这个作者很懒,什么都没留下…
展开
-
Python解析json数据结构范例
一、JSON的格式:1,对象:{name:"Peggy",email:"peggy@gmail.com",homepage:"http://www.peggy.com"}{ 属性 : 值 , 属性 : 值 , 属性 : 值 } 2,数组是有顺序的值的集合。一个数组开始于"[",结束于"]",值之间用","分隔。[{name:"Peggy",e转载 2015-11-01 22:31:09 · 707 阅读 · 0 评论 -
urllib and urllib2
You might be intrigued by the existence of two separate URL modules in Python - urllib and urllib2. Even more intriguing: they are not alternatives for each other. So what is the difference between转载 2015-11-01 22:40:09 · 328 阅读 · 0 评论 -
Python多线程学习
一.创建线程 1.通过thread模块中的start_new_thread(func,args)创建线程:在Eclipse+pydev中敲出以下代码:# -*- coding: utf-8 -*- import thread def run_thread(n): for i in range(n): print i t转载 2016-03-02 17:26:51 · 600 阅读 · 0 评论