AttributeError: 'set' object has no attribute 'items
python-forum.io › thread-9817AttributeError: 'NoneType' object has no attribute 'all' synthex: 2: 3,291: Mar-07-2019, 11:11 AM Last Post: synthex : Please help with AttributeError: 'Netz' object has no attribute 'conv' DerBerliner: 2: 2,077: Feb-27-2019, 06:01 PM Last Post: DerBerliner 'list' object has no attribute 'reshape' SamSoftwareLtd: 1: 11,942: Nov-04-2018, 10:38 ...
python - AttributeError: 'set' object has no attribute 'items ...
stackoverflow.com › questions › 32121015Aug 20, 2015 · self.changes = {"MTMA",123} When you define self.changes as above , you are actually defining a set , not a dictionary , since you used ',' (comma) instead of colon , I am pretty sure in your actual code you are using comma itself , not colon . To define a dictionary with "MTMA" as key and 123 as value , use a colon in between them , Example -.