ANN: easygconf 0.01

Florian Diesch diesch at spamfence.net
Thu Jul 23 03:00:56 CEST 2009


I'm happy to announce easygconf 0.01


Get it at http://www.florian-diesch.de/software/easygconf/

easygconf provids an easy, pythonic way to access GConf
<http://projects.gnome.org/gconf/> through a dict-like interface.



Example
-------

>>> from easygconf import GConfDict
>>> gc=GConfDict('/apps/test-application')
>>>
>>> gc['title']
>>> gc['title']='Hello world!'
>>> gc['title']
'Hello world!'
>>>
>>> gc['list']=range(3)
>>> gc['list']
(0, 1, 2)
>>>
>>> gc.unset('title')
>>> gc.unset('list')
>>> gc['title']
>>> gc['list']
>>>
>>> gc.sync()




   Florian
-- 
<http://www.florian-diesch.de/>


More information about the Python-announce-list mailing list