Pythonic gui format?
DH
no at spam.com
Tue Feb 14 09:06:54 EST 2006
Gregory Petrosyan wrote:
> 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).
Since JSON is just python dicts and lists, you don't need an extra
library to use it, essentially.
> 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...)
That's a good point.
More information about the Python-list
mailing list