我不知道如何将新用户与之前创建的类联系起来。感谢任何能以某种方式解释和澄清的人。__name__} ya existente') # A Python KeyError exception is what is raised when you try to access a keythat isn't in a dictionary ( dict )
def existe(self,
我是刚开始使用python的OOP。__dict__ = json.loads(output.content)print(s.w[0].charss[0])
发生错误:AttributeError: 'dict' object has no attribute 'charss'是因为我从JSON填充为__dict__,其中charss实例化为list。如果是这样,那么最好的解决方案是将__<em