📌  相关文章
📜  如何在 tkinter 中放置图像 - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:59.181000             🧑  作者: Mango

代码示例5
import tkinter as tk
window = tk()
canvas = Canvas(window, width=300, height=300)
image = PhotoImage('path')
canvas.create_image(height=40, width=40, img=image)