Apr-29-2020, 05:27 AM
Give this a try, I do not run Linux so I cannot test on that system.
def main(): '''Docstring''' root = tk.Tk() root.title('Johnny\'s CookBook') img = tk.PhotoImage(file='/home/johnny/Desktop/CookBook/images/cookbook_logo.png') root.configure(width=img.width()) root.resizable(width=False, height=False) photo = PhotoImage(file = 'images/ratt2b.png') root.iconphoto(False, photo) RootWindow(root) root.mainloop()
"Often stumped... But never defeated."