workaround for generating gui tools

Gabriel B. gabriel.barros at gmail.com
Mon Apr 11 09:05:49 EDT 2005


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.



More information about the Python-list mailing list