Código de inicio de Tkinter
from tkinter import *
master = Tk()
master.title("TITLE HERE")
master.geometry('LENGTHxWIDTH')
master.mainloop()
Analoger
from tkinter import *
master = Tk()
master.title("TITLE HERE")
master.geometry('LENGTHxWIDTH')
master.mainloop()
import tkinter as tk
root = tk.Tk()
root.title("my title")
root.geometry('200x150')
root.configure(background='black')
# enter widgets here
root.mainloop()