Erhan Ekici wrote:
> There is a problem in my code.I think it is Tkinter bug.
> Because First Code works properly and display the image on screen.
> In Second Code(with function), it works but doesn't display image.Instead of
> image, only a square with color=#dddddd comes on screen.
> Also, Third Code works properly and display image on screen...
http://www.python.org/doc/FAQ.html#4.69
also see the note on this page:
http://www.effbot.org/zone/tkinter-photoimage.htm
(bug or not, this belongs to the "you'll only do this mistake
once" category)
</F>