import tkinter as tk
def OnButtonUp():
window.title('up')
print('up')
def OnButtonDown():
window.title('down')
print('down')
def OnButtonLeft():
window.title('left')
print('left')
def OnButtonRight():
window.title('right')
print('right')
window=tk.Tk()
window.title('window')
window.geometry('400x400')
label=tk.Label(window, text='text here')
label = tk.Label(window)
label.config(text='text here')
label['bd']=2
label['relief']='groove'
label['cursor']='X_cursor'
label['anchor']='w'
label['text']='text here'
label= tk.Label(window,text='text here',bd=2,relief='groove',cursor='X_cursor')
label.place(x=3, y=3, width=206, height=100)
window.mainloop()