Answers for "IMPORT Tkinter WHICH PYTHON VERSION"

4

how to install tkinter for python

# for pip and windows, in cmd, write:
pip install tk
Posted by: Guest on June-06-2020
13

tkinter python 3

import tkinter as tk

obj = tk.Tk() # Creates a tkinter object
label = tk.Label(obj, text="This is a text button")
Posted by: Guest on February-01-2020

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language