I have a very small 10 x 10 pixel jpg image that I want to repeat it in the whole background using tkinter.
from tkinter import * root = Tk() img = Image.open(resource_path("FILE LOCATION//filename.jpg")) for i in range(0,1000): image1 = ImageTk.PhotoImage(i) label1 = Label(root, image=image1) label1.pack() root.mainloop()
This code this iterating but not sequentially.. I am noob in tkinter GUI development. Please help.
Source: Python Questions