how to use copy_reg/pickle (was Re: how to pickle unpicklable objects)

2005-09-26 Thread Guy Lateur
Thanks for the swift reply, Hans, and sorry for my delayed reaction. I've been looking at the copy_reg module, but I can't seem to get it to work. wx.Font has a method called GetNativeFontInfo(), which returns a string description of the font. Here's what I had hoped would have worked. [code]

Re: how to pickle unpicklable objects

2005-09-23 Thread Hans Georg Krauthaeuser
Guy Lateur schrieb: > Hi all, > > I've been writing an application containing a lot of settings which can be > changed by the user. I'm using wx.Config to read/write these settings (to > the windows registry). This means I can only store strings, ints and floats. > > However, it would be very c

Re: how to pickle unpicklable objects

2005-09-23 Thread Ido . Yehieli
interesting. usually the [pickle | cpickle | marshal] modules should handle such things -- http://mail.python.org/mailman/listinfo/python-list