リスト2 ボタン付き Hello プログラム(hello2.py). 001 #!/usr/bin/python3 002 003 import tkinter as tk 004 005 #================================================= 006 # definition of class 007 #================================================= 008 class App: 009 010 def __init__(self, master): 011 012 frame = tk.Frame(master) 013 frame.pack() 014 015 self.button = tk.Button(frame, text="QUI