From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: 4cc7704942,cfe7c204ed7ea13c,start X-Google-Attributes: gid4cc7704942,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail NNTP-Posting-Date: Mon, 16 Nov 2009 06:40:02 -0600 Return-Path: X-COLA-Policy: http://stump.algebra.com/~cola X-COLA-Info-1: Send submissions to cola@stump.algebra.com X-COLA-Info-2: Send complaints to cola-admin@stump.algebra.com X-Comment: moderators do not necessarily agree or disagree with this article. X-Robomod: STUMP, ichudov@algebra.com (Igor Chudov) Date: Mon, 16 Nov 2009 06:36:59 -0600 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on ak74.algebra.com X-Spam-Level: X-Spam-Status: No, score=0.2 required=2.0 tests=TW_GT,TW_YG autolearn=no version=3.1.4 From: Florian Diesch Subject: ANN: easygconf 0.02 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Message-ID: <87y6m6ve7v.fsf@scenic.florian-diesch.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-bounce-key: webpack.hosteurope.de;diesch@spamfence.net;1258375001;e3dfc93d; Newsgroups: comp.os.linux.announce FromStump: yes X-Auth: PGPMoose V1.1 PGP comp.os.linux.announce iQBVAwUASwFHayFvAtx2nXvNAQEUhAIApPFHODwUnc6nNeEUuoyjqEuIjePcTvvC 1kBPKiIjcEEB95re0afemNuqSnY2PQZ8ayiM2INXS0btpLQ4m6SQaw== =v9q0 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-fL7o7AJG5yW1m+r+NTTAIX1CJ6+KgHuoGIXLT2N6gMQwFengR5EHtKFP/owmxNH0Q5x6rmwiWUd4+uK!nYPXuliw47pql00+jRVBlppqIpOiNrG42KPQxX+MSpQBsREegEQwAbDgkhIW8OMwmhge X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Xref: g2news1.google.com comp.os.linux.announce:258 I'm happy to announce easygconf 0.02. Get it at http://www.florian-diesch.de/software/easygconf/ easygconf is a Python module that provids an easy, pythonic way to access GConf through a dict-like interface. Example ------- from easygconf import GConfDict import gtk key = 'test' gc=GConfDict('/apps/easygconftest') print "%s is %s"%(key, gc[key]) gc[key] = 'foo' print "Now %s is %s"%(key, gc[key]) def callback (key, value, gconfdict, id, args): print "%s changed to %s"%(key, value) gc.add_listner('test', callback) try: gtk.main() except KeyboardInterrupt: pass gc.unset('test') Florian -- ########################################################################## # Send submissions for comp.os.linux.announce to: cola@stump.algebra.com # # PLEASE remember a short description of the software and the LOCATION. # # This group is archived at http://stump.algebra.com/~cola/ # ##########################################################################