10 2017 档案

摘要:select student_id,student.sname FROM score LEFT JOIN student on student_id=student.sid where course_id in(select cid from course LEFT JOIN teacher on 阅读全文
posted @ 2017-10-18 17:51 Wchigo 阅读(169) 评论(0) 推荐(0)
摘要:1 ####在装饰器中加入self参数即可 2 def w_f(f): 3 def wrapper(self, *args, **kwargs): 4 f(self, *args, **kwargs) 5 # print(args[1]) 6 return wrapper 7 class school: 8 def __in... 阅读全文
posted @ 2017-10-07 18:30 Wchigo 阅读(1047) 评论(0) 推荐(0)
摘要:http://blog.sina.com.cn/s/blog_14f8e54d10102xnnp.html python中 作为实参传入的变量是否可修改的问题 http://blog.sina.com.cn/s/blog_14f8e54d10102xnp0.html python中装饰器装饰类中的方 阅读全文
posted @ 2017-10-07 18:29 Wchigo 阅读(270) 评论(0) 推荐(0)
摘要:在属于F2类的obj对象中调用类方法中实现对F3的实例化,F3是F1的子类,输出结果如下: 输出结果为: 仅供自己参考,方便以后查看 阅读全文
posted @ 2017-10-07 18:26 Wchigo