[Tutor] dictionary command
Terry Carroll
carroll at tjc.com
Tue Nov 16 23:44:35 CET 2004
On Wed, 17 Nov 2004, Naveed Ahmed Khan wrote:
> dict = {}
>
> This command line works alright but when I try the below:
>
>
> >>> dict['boolean'] = "A value which is either true or false"
>
> I get the following error message:
>
> "Object does not support the item assignment"
These are in two different sessions, right?
Your basic problem is that "dict" is the name of a builtin type, the
dictionary. use a different name.
More information about the Tutor
mailing list