set up tkinter code example
Example 1: how to install tkinter
sudo apt-get install python3-tk
Example 2: basic tkinter gui
import tkinter as tk
root = tk.Tk()
root.title("my title")
root.geometry('200x150')
root.configure(background='black')
# enter widgets here
root.mainloop()
Example 3: how to create tkinter window
import tkinter
master = tkinter.Tk()
master.mainloop()