Hans Müller wrote:
Hello,I have a lot of items having a name and a given sequence.To access these items fast in a sequence order they should be used as a list, but to be fetched fast by name they also should be in a dictionary.
Have you looked at namedtuple or OrderedDict in collections module? -- http://mail.python.org/mailman/listinfo/python-list