Re: Saving/retrieving user preferences

2005-06-10 Thread Brian Wallis
Brian Wallis wrote: > I want to save user preferences, window sizes, recently opened file names, > etc for a python application and I am looking for a package that does this > in a way that is portable across unix/linux and windows (and mac would be > nice as well). Thank you all for the replies.

Re: Saving/retrieving user preferences

2005-06-09 Thread flyingfred0
If you're creating your GUI with wxPython, you might be able to use wx.Config and related classes. http://wxpython.org/docs/api/wx.ConfigBase-class.html Brian Wallis wrote: > This may be a FAQ,but I cannot find it. > > I want to save user preferences, window sizes, recently opened file names,

Re: Saving/retrieving user preferences

2005-06-09 Thread Peter Hansen
Brian Wallis wrote: > This may be a FAQ,but I cannot find it. > > I want to save user preferences, window sizes, recently opened file names, > etc for a python application and I am looking for a package that does this > in a way that is portable across unix/linux and windows (and mac would be > ni

Re: Saving/retrieving user preferences

2005-06-09 Thread bruno modulix
Brian Wallis wrote: > This may be a FAQ,but I cannot find it. > > I want to save user preferences, window sizes, recently opened file names, > etc for a python application and I am looking for a package that does this > in a way that is portable across unix/linux and windows (and mac would be > n

Re: Saving/retrieving user preferences

2005-06-09 Thread Fuzzyman
ConfigObj is a nice way of reading/writing text config files. It's case insensitive and handles quoting of keywords/values. Reading and writing config files are single line commands. You get access to keyword values using a dicitionary interface. Values can be single values or lists (including

Re: Saving/retrieving user preferences

2005-06-09 Thread Miki Tebeka
Hello Brian, > I want to save user preferences, window sizes, recently opened file names, > etc for a python application and I am looking for a package that does this > in a way that is portable across unix/linux and windows (and mac would be > nice as well). > > Is there a 'standard' package fo

Re: Saving/retrieving user preferences

2005-06-08 Thread Brian Wallis
(my last post seemed to not get out, sorry if you see it twice) This may be a FAQ,but I cannot find it. I want to save user preferences, window sizes, recently opened file names, etc for a python application and I am looking for a package that does this in a way that is portable across unix/lin

Saving/retrieving user preferences

2005-06-08 Thread Brian Wallis
This may be a FAQ,but I cannot find it. I want to save user preferences, window sizes, recently opened file names, etc for a python application and I am looking for a package that does this in a way that is portable across unix/linux and windows (and mac would be nice as well). Is there a 'stand