0% found this document useful (0 votes)
41 views

Image File of Tkinter

This 3 line code sample loads an image file, assigns it to a Label widget, and places the label with the image at the top left corner of the window with coordinates (0,0).

Uploaded by

Harsh Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views

Image File of Tkinter

This 3 line code sample loads an image file, assigns it to a Label widget, and places the label with the image at the top left corner of the window with coordinates (0,0).

Uploaded by

Harsh Yadav
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

bg = PhotoImage(file = "C:/Users/HARSH YADAv/Desktop/tkinter/WazeCarpool-

SchoolSupplyRoadLoop-v2-902.ppm.gif")
label1 = Label( root, image = bg)
label1.place(x = 0, y = 0)

You might also like