摘要:
以后要看的链接:http://pyunit.sourceforge.net/pyunit_cn.html#TESTFUNChttp://www.ibm.com/developerworks/cn/linux/l-pyunit/index.html 阅读全文
摘要:
赋值语句普通赋值:>>> x,y,z = 1,2,3>>> print x,y,z1 2 3>>> x,y = y,x>>> print x,y2 1元组(序列)解包赋值:>>> a = (1,2,3)>>> x,y,z = a>>> x1字典赋值:>>> people = {"name":"cq"... 阅读全文