Support Desk wrote:
Sorry for the confusion, Simon, this is almost exactly what I need, but
i need to be able to search for a string in a given value of an item
Here is an example of the dict I am working with
{'252': [{'code': '51679', 'date': '2009-08-01 11:35:38', 'userfield':
'252', 'fr
Sorry for the confusion, Simon, this is almost exactly what I need, but i
need to be able to search for a string in a given value of an item
Here is an example of the dict I am working with
{'252': [{'code': '51679', 'date': '2009-08-01 11:35:38', 'userfield':
'252', 'from': '9876662881', 'to': '1
On Wed, Sep 23, 2009 at 2:31 PM, Support Desk
wrote:
>
> i am trying to search a large Python dictionary for a matching value. The
> results would need to be structured into a new dictionary with the same
> structure. Thanks.
>
> The structure is like this
>
> { Key : [{'item':value,'item2':value,
Support Desk wrote:
i am trying to search a large Python dictionary for a matching value. The
results would need to be structured into a new dictionary with the same
structure. Thanks.
The structure is like this
{ Key : [{'item':value,'item2':value,'
item3':value,'item4':value,'item5':value','i