[Tutor] Python Image Library
alan.gauld at yahoo.co.uk
Fri May 19 13:13:51 EDT 2017
On 19/05/17 15:15, Peter Otten wrote:
> call the destroy() rather than the quit() method.
> However, as your code gets away without calling destroy() I'm still
withdraw hides the window then quit ends the mainloop
so the procedure falls through to the end and everything
gets garbage collected.
Its brutal but it works. destroy combines the withdraw
and quit effect in a much more elegant solution.
Author of the Learn to Program web site
Follow my photo-blog on Flickr at:
More information about the Tutor