第四章python技巧
摘要:
1.拷贝:深拷贝和浅拷贝 目的:需要一个对象,但又确保原对象不被改变。 深拷贝方法: copy.deepcopy 浅拷贝方法: 1.内置方法 (list, dict,set) t(o), (字典本身还有d.copy()) 2. copy.cop... 阅读全文
posted @ 2015-12-03 11:24 chzb 阅读(155) 评论(0) 推荐(0)
posted @ 2015-12-03 11:24 chzb 阅读(155) 评论(0) 推荐(0)
posted @ 2015-11-30 23:26 chzb 阅读(153) 评论(0) 推荐(0)
posted @ 2015-11-29 20:15 chzb 阅读(254) 评论(0) 推荐(0)
posted @ 2015-11-29 16:30 chzb 阅读(195) 评论(0) 推荐(0)
posted @ 2015-10-20 22:32 chzb 阅读(261) 评论(0) 推荐(0)
posted @ 2015-10-18 12:33 chzb 阅读(1837) 评论(0) 推荐(0)