摘要: a = [1,2,3] b=a b[0] = 0 print b print a #说明b是指向a #! usr/bin/python#coding=utf-8class MyClass: def __init__(self): #这是构造函数,初始化运行 print "New Object" se 阅读全文
posted @ 2017-01-01 21:19 码农之路2015 阅读(97) 评论(0) 推荐(0)