[python-win32] 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
working.

 

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

 

Regards,

 

NAK

 

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


More information about the Python-win32 mailing list