First program With Tkinter
You can create the window using tkinter. Further you can define the attributes of window for example title, background color and position etc.
from tkinter import *
window = Tk()
Now window or form has created and one object has created in “window” variable. Now you can define different properties using “window” object