Apr-19-2018, 08:37 PM
I do not understand how to allocate a python dictionary. I was hoping someone could point out my error. If this is not the right forum, please help me out and point me to the right one.
This is my code:
Thnx
Matt
This is my code:
msg = {'fees': ['GMBk8YVHn2', 2, 'C4xbW4SR'] } fees = getattr(msg, "fees") Traceback (most recent call last): File "<input>", line 1, in <module> AttributeError: 'dict' object has no attribute 'fees'What's wrong with msg data?
Thnx
Matt