Appending members to Dictionary in Python
<p>I am in the process of adding members to the dictionary for the same key dynamic which will be processed to create json objects.</p>

<p>For example sample code</p>

<pre><code>data_Dict = dict()
data_Dict['1'] = {'Key': '1111',}
data_Dict.setdefault('1',  []).append({ 'Val':'Name'}) 
</code></pre>

<p>I am getting error
AttributeError: 'dict' object has no attribute 'append'</p>

<p>any help is appreciated.</p>