[wxPython-users] cPickle and wx
Sébastien VINOT
sebastien.vinot at logisphere.fr
Mon Aug 13 07:05:15 PDT 2007
Andrea Gavana a écrit :
> Hi Sebastien,
>
> On 8/13/07, Sébastien VINOT wrote:
>
>> I'd like to use cPickle with wx objects (like my short example above)
>> but it seems not to be as simple as I expected. Is it possible to do
>> this or not ?
>>
>
> wx objects are not pickable as far as I know. If you don't have to
> store the results in a file for later user (i.e., you need to store
> those objects to use them during the same application session), you
> might want to use the weakref module. There is a sample usage of it in
> the wx.lib.flatnotebook module.
>
>
> Andrea.
>
>
I was afraid about that because I have to keep it from session to
sessions :(
Thanks anyway
More information about the wxpython-users
mailing list