2023-04-10 画像表示 ランキング参加中Python import tkinter as tk root = tk.Tk() root.title("test") cvs = tk.Canvas(width = 200, height = 200) sai = tk.PhotoImage(file = "sai1.png") cvs.create_image(100, 100, image = sai) cvs.pack() root.mainloop()