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.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to