workaround for generating gui tools
Bengt Richter
bokr at oz.net
Mon Apr 11 18:45:30 EDT 2005
On Mon, 11 Apr 2005 10:05:49 -0300, "Gabriel B." <gabriel.barros at gmail.com> wrote:
>On Apr 10, 2005 11:08 PM, Bengt Richter <bokr at oz.net> wrote:
>> On Sat, 9 Apr 2005 19:22:16 +0200, "Fredrik Lundh" <fredrik at pythonware.com> 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
More information about the Python-list
mailing list