Tkinter Images

Tuvas tuvas21 at
Wed Nov 23 20:05:48 CET 2005

Update: I can put the image in, but it spits out errors, adding this to


BTW, I noted that my code was written incorectly The function should be
as follows:

def change_pic(path):
  global pic
  image=Image()               #I'm using PIL to use the images, but I
don't think it's depended... This code's not the important one...
  pic=canvas.create_image(1,1,image=image, anchor=NW)

Note, add the first line above and it works.

The question, how do I get it to work without the error messages?

More information about the Python-list mailing list