tkinter 파이썬 3
import tkinter as tk
obj = tk.Tk() # Creates a tkinter object
label = tk.Label(obj, text="This is a text button")
파이썬 용 tkinter 설치 방법
# for pip and windows, in cmd, write:
pip install tk
tkinter 설치
pip install tk
파이썬에서 tkinter 를 가져 오는 방법
# only works in Python 2.x
import Tkinter
# only works in Python 3.x
import tkinter