Pythonic gui format?

bruno at modulix onurb at xiludom.gro
Tue Feb 14 09:17:50 EST 2006


DH wrote:
> 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.

Please stop with this nonsense. Python is Python, JSON is Javascript
Object Notation, and even if the mapping is quite straightforward, you
just can't substitute one for the other. BTW, there *are* some
Python<->JSON Python packages...

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list