hello, please excuse me, but i would like to understand how dictionaris work.
for example:
>>> my_lst = [{'code': 'aaa', 'name': 'a name'}, {'code': 'bbb', 'name': 'b
>>> name'}]
>>> my_code = 'aaa'
from the above i would like to compare my_code and return the dictionary which
has code == my_code
dave
_______________________________________________
Tutor maillist - [email protected]
http://mail.python.org/mailman/listinfo/tutor
