from tkinter import * #create and edite the app root = Tk() root.configure(bg="#000000") root.title("APP") root.iconbitmap("logo.ico") root.geometry("500x500") root.mainloop()