摘要:
# 浅拷贝(copy):拷贝父对象,不会拷贝对象的内部的子对象。# 深拷贝(deepcopy): copy 模块的 deepcopy 方法,完全拷贝了父对象及其子对象#list2=list1 -->这个不叫拷贝 list1 =[1,2,[11,22,33],{"a":1,"b":2}] list2= 阅读全文
posted @ 2020-12-06 21:40
正霜霜儿
阅读(121)
评论(0)
推荐(0)
摘要:
遇到这个问题的时候发现网上给的解释是:https://stackoverflow.com/questions/1250103/attributeerror-module-object-has-no-attribute 有个外国人遇到的情况如下: Not sure how but the below 阅读全文
posted @ 2020-12-06 21:38
正霜霜儿
阅读(1761)
评论(0)
推荐(0)
浙公网安备 33010602011771号