一、错误处理: 1.try/except/else/finally: 2.调用堆栈: 3.记录错误 4.抛出自定义错误:二、调试: 1. print 2. 断言: 3. logging: 4. Pdb: 5.pdb.set_trace() 6. IDE三、单元测试:是用来对一个模... Read More
posted @ 2015-10-29 21:49 超超xc Views(347) Comments(0) Diggs(0) Edit
I suppose,were childrenonec.