On Mon, 11 Apr 2005 10:05:49 -0300, "Gabriel B." <[EMAIL PROTECTED]> wrote:
>On Apr 10, 2005 11:08 PM, Bengt Richter <[EMAIL PROTECTED]> wrote: >> On Sat, 9 Apr 2005 19:22:16 +0200, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: >> open('mywidget_v2.txt','w').write(repr(mywidget.textview) > >How about a pickle hook? > >You'd just unpack the pickle data, and end up with a pointer to a >frame(?) containing all the goods, then just .pack() it into whatever >you want. Pickle is one way to store a representation of something, but it isn't programming-language-agnostic ;-) Regards, Bengt Richter -- http://mail.python.org/mailman/listinfo/python-list