Tkinter Images
Tuvas
tuvas21 at gmail.com
Wed Nov 23 14:05:48 EST 2005
Update: I can put the image in, but it spits out errors, adding this to
it:
canvas.insert(pic)
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