Oct-18-2019, 11:26 AM
(Oct-18-2019, 11:00 AM)steve_shambles Wrote: You can use this code to check if your .ico file is valid.
This will run a file selector so you can manually choose
any .ico file from anywhere and it will use that icon.
from tkinter import filedialog, Tk root = Tk() #Open file dialog file_selected = filedialog.askopenfilename(filetypes=[('ico files','*.ico')]) root.minsize(300, 200) root.title("My Window") root.iconbitmap(file_selected) root.mainloop()
Sorry my .ico was now valid
Thanks for your help