柳絮9712的博客1、编译错误: while t: NameError: name 't' is ...ModuleNotFoundError: No modulenamed 'pymysql' 解决方法:换个解释器就有了,因为你的PyMySQL安装在了这个解释器下,而不是pycharm默认的那个解释器
古攵鄉白勺雲的博客'Student' object has no attribute 'score' 由于score没有被放到__slots__中,所以不能绑定score属性,试图绑定score将得到AttributeError的错误。 __slots__定义的属性仅对当前类实例起作用,对继承的子类是不起...