May-25-2020, 03:00 AM
So I'm Trying to Create a Tkinter window and it has an icon in same folder but if I upload it on Github or change dir then it will show an error because of icon location
Is there any solution for it?
PS - Sorry for Bad Explanation
Is there any solution for it?
PS - Sorry for Bad Explanation

from tkinter import * root = Tk() root.title('Password Generator') root.geometry('350x300+400+200') root.resizable(height=FALSE,width=FALSE) root.iconbitmap(r"C:\Users\Evil Patrick\Desktop\Python\projects\logo.ico") root.mainloop()