Refactoring problem

I think you're right.
But I did a mess with these two for cycles:

        for name in textBox:
            for p in panels:
                self.createTextCtrl(name, panels[p])

Here I need it to iterate over the list and the dictionary at the
same. Isn't there a way to use a for with two variables over two
lists?

···

On Tue, Jun 24, 2008 at 7:29 PM, C M <cmpython@gmail.com> wrote:

I think it is that dictionaries are not ordered, and so when you iterate
over panels, the ordering is (sort of) random.