On Feb 5, 4:29 pm, Andrew Berg bahamutzero8...@gmail.com wrote:
This has nothing to do with dictionaries. If you want to add, delete, or
change items, use a list (or a set if there aren't supposed to be any
duplicates).
AND you don't care about ordering...
--
Hi there,
I`m again confused and its the dictionary. As dictionary does not support
append I create a variable list with dictionary key values and want to add
new values to it and then copy it again to the dictionary as I dont know
other methods.
mydict =
On Mon, Feb 6, 2012 at 2:13 AM, Anatoli Hristov toli...@gmail.com wrote:
Hi there,
I`m again confused and its the dictionary. As dictionary does not support
append I create a variable list with dictionary key values and want to add
new values to it and then copy it again to the dictionary as
On 5 February 2012 15:13, Anatoli Hristov toli...@gmail.com wrote:
Hi there,
I`m again confused and its the dictionary. As dictionary does not support
append I create a variable list with dictionary key values and want to add
new values to it and then copy it again to the dictionary as I dont
On 2/5/2012 9:13 AM, Anatoli Hristov wrote:
and I get and error that TUPLE object has no attribute Append !!!
You defined mydict['name'] as a tuple, and tuples are immutable. Using a
tuple means that you don't ever want the values to change.
But how to add new Values to a dictionary then ?
This
Thanks Chris,
It works fine, I see it will take time till I understand all the syntax :(
A.H
On Sun, Feb 5, 2012 at 4:20 PM, Chris Angelico ros...@gmail.com wrote:
On Mon, Feb 6, 2012 at 2:13 AM, Anatoli Hristov toli...@gmail.com wrote:
Hi there,
I`m again confused and its the