はじめに Pythonでテニスの動画解析ツールを自作してみた に触発されて、tkinterでバスケの動画解析ツールを自作しました。 その際に調べたtkinterについてまとめます。 ウィンドウ、フレーム、ウィジェットの関連 全ソース 基本 以下を基本とし、create_widgets中に追記をしていきます。 import sys import os import numpy as np import tkinter as tk import tkinter.ttk as ttk from PIL import Image, ImageTk from tkinter import messagebox as tkMessageBox from tkinter import filedialog as tkFileDialog # アプリケーション(GUI)クラス class Applicat