Answers for "set up tkinter"

14

how to install tkinter

sudo apt-get install python3-tk
Posted by: Guest on June-09-2020
5

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()
Posted by: Guest on July-10-2020
1

how to create tkinter window

import tkinter
master = tkinter.Tk()
master.mainloop()
Posted by: Guest on May-01-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language