May-25-2020, 05:12 AM
I don't think you are being clear on your explanation. Please try to express it a little differently so you can receive the information and help you need.
If your logo.ico is in a different location than your python code you would require the direct path to its location in order for it to be used. If you have your logo.ico in the same folder as your python code it will display just fine as shown in the example below, which does not require the full path being used.
If your logo.ico is in a different location than your python code you would require the direct path to its location in order for it to be used. If you have your logo.ico in the same folder as your python code it will display just fine as shown in the example below, which does not require the full path being used.
from tkinter import * root = Tk() root.title('Password Generator') root.geometry('350x300+400+200') root.resizable(height=FALSE,width=FALSE) root.iconbitmap(root.wm_iconbitmap('logo.ico') root.mainloop()
"Often stumped... But never defeated."