Fuzzyman wrote: > bruno at modulix wrote: > >>Fuzzyman wrote: >>(snip) >> >> >>>You say you don't want an 'extra layer' between your GUI and Python - >>>but your approach of using XML has the same drawback. Storing your 'GUI >>>configuration' in a text based format is a nice idea, but you will need >>>*something* to do the translation. >> >>Well, if the conf is valid Python, you've already get most of the >>'something to do the translation' for free !-) >> > > > Except he can't use ordinary dictionaries because they don't preserve > order, which is one of his requirements...
Except that dict ordering (or lack of) is not a problem here, cf my other posts about this !-) -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- http://mail.python.org/mailman/listinfo/python-list