On 8 December 2011 13:04, federico vaggi wrote:
> Why not use http://pypi.python.org/pypi/ordereddict ?
>
If you're using Python 2.7/3.1+, it's in the standard library:
http://docs.python.org/library/collections#collections.OrderedDict
Thomas
On Tue, Dec 6, 2011 at 3:56 PM, Marko Limbek wrote:
> This is my problem.
> I get results of some method and I should match coordinates from one
> dictionary and names of categories in another dictionary. Is that possible?
Any example? :)
Regards,
w
This is my problem.
I get results of some method and I should match coordinates from one
dictionary and names of categories in another dictionary. Is that possible?
I see no way of doing that!
I have already used sorted().
I have also used update() but I believe that update() also works arbitrary,
On Tue, Dec 6, 2011 at 2:48 PM, Marko Limbek wrote:
> Hi,
>
> Can someone please explain to me, how Python performs his random
> permutations in the keys of the dictionaries? It seems that there are some
> more or less random permutations, because the order of the variables is
> completely confuse