Re: [pygtk] how to parse gkeyfile

2008-06-09 Thread Felipe Reyes
El lun, 09-06-2008 a las 11:59 +1200, John Stowers escribió:
 On Tue, 2008-06-03 at 18:28 -0400, Felipe Reyes wrote:
  hi everybody,
  
  Currently I have an application written in C that stores some
  configuration information in a GKeyFile, and now I have a write another
  application that need some information that is in that file, but I don't
  find the bindings for GKeyFile in pygtk, so those functions are present
  to be used from python?.
 
 You could also use the build in python ConfigParser library if you wish.
 
nice1 :) thanks, I'm gonna test if reads without troubles my existing
configuration files, because ConfigParser uses ';' for the begin of
comments, and GKeyFile uses ';' like the separator of a list of values,
so I'll see if I can change that behaviour.

thanks a lot guys

happy hacking.
-- 
Felipe Reyes Astorga
counter.li.org #316380


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] how to parse gkeyfile

2008-06-08 Thread Felipe Reyes
El dom, 08-06-2008 a las 00:41 +0200, Gian Mario Tagliaretti escribió:
 2008/6/4 Felipe Reyes [EMAIL PROTECTED]:
  hi everybody,
 
 Hi Felipe,
 
 [some snip]
  I don't
  find the bindings for GKeyFile in pygtk, so those functions are present
  to be used from python?.
 
 The bindings are not available in pygtk or pygobject, I've made
 experimental bindings [1] myself, but they are not very very tested...
 gkeyfile should work fine though.
 
thanks a lot, I'm gonna test it, pyglib will be available in a stable
way some day?

seeya
 [1] https://launchpad.net/pyglib/
 
 cheers
-- 
Felipe Reyes Astorga
counter.li.org #316380


signature.asc
Description: Esta parte del mensaje está firmada	digitalmente
___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/


Re: [pygtk] how to parse gkeyfile

2008-06-08 Thread John Stowers
On Tue, 2008-06-03 at 18:28 -0400, Felipe Reyes wrote:
 hi everybody,
 
 Currently I have an application written in C that stores some
 configuration information in a GKeyFile, and now I have a write another
 application that need some information that is in that file, but I don't
 find the bindings for GKeyFile in pygtk, so those functions are present
 to be used from python?.

You could also use the build in python ConfigParser library if you wish.

John

 
 thanks in advance
 
 regards,
 ___
 pygtk mailing list   pygtk@daa.com.au
 http://www.daa.com.au/mailman/listinfo/pygtk
 Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

___
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/