On Feb 5, 4:29 pm, Andrew Berg 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...
--
http://mail.python.org/mailman/listinfo/python-list
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 wrote:
> On Mon, Feb 6, 2012 at 2:13 AM, Anatoli Hristov wrote:
> > Hi there,
> >
> > I`m again confused and its the dictionary. As dictionary does not s
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 ?
Thi
On 5 February 2012 15:13, Anatoli Hristov 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 know
> other
On Mon, Feb 6, 2012 at 2:13 AM, Anatoli Hristov 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 know
>