[Tutor] dictionary command

Naveed Ahmed Khan naveed48 at wol.net.pk
Tue Nov 16 23:08:06 CET 2004

Dear friends,


I am using python on windows and trying the dictionary command but its not


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"



Kindly help me out why is that so. Please note that I am new in programming






-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/tutor/attachments/20041117/40f9398a/attachment.html

More information about the Tutor mailing list