Создайте окно, используя tkinter
import tkinter as tk
window = tk.Tk()
window.mainloop
skiibloc
import tkinter as tk
window = tk.Tk()
window.mainloop