title: How to use small single image and repeat it all over the window to make it a background image using tkinter GUI?
body: <p>I have a very small 10 x 10 pixel jpg image that I want to repeat it in the whole background using tkinter.</p>
  <pre><code>from tkinter import *
  from PIL import Image, ImageTk
   
  root = Tk()
  img = Image.open(resource_path(&quot;FILE LOCATION//filename.jpg&quot;))
  for i in range(0,1000):
      image1 = ImageTk.PhotoImage(i)
      label1 = Label(root, image=image1)
      label1.pack()
  
  root.mainloop()
  </code></pre>
  <p>This code this iterating but not sequentially.. I am noob in tkinter GUI development. Please help.</p>