I am creating an .exe from my gui.py i have several pictures in it which are implemented with:
from Tkinter import*
from PIL import ImageTk
bild = ImageTk.PhotoImage(file=r"C:\something\somehow\my.png")
label5 = Label(toplevel1, image=bild)
label5.image = bild
label5.pack(side=TOP)
(this is just a small piece of my code. It won't run by itself it should just show how i implemented my picture. If you need more code please tell me)
now i created the exe and i can't start it from another pc on which the my.png isn't in the C:\something\somehow directory. Can i bind pictures permanently to a code or can i implement a function that looks for that specific picture on the whole pc.