> > Isn't it ugly a bit? >I'd even say 'ugly 16-bits' !-) You are right of course. Those "examples" are really bad, and, most of all, really un-pythonic.
Thanks for JSON. It's more clean&simple than XML, but my main idea is to remove any extra layer between Python and GUI. I want all GUI elements/data to be directly accessible from Python (without extra libraries). Your dicts example is nice, but this approach (and some others) lacks one important feature: ordering of GUI elements. In XML, the order of all elements is specified, and with dicts (or with very clean Georg's model) it is not. (BTW remember topics about ordered dicts...) I think that there should be a way for solving this problem, and I'll certainly try to find it. Thanks for your help. -- http://mail.python.org/mailman/listinfo/python-list