# -*- coding: utf-8 -*- import tkinter as tk root = tk.Tk() root.title("tk0.py") root.geometry("300x300") root.mainloop()