This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
import tkinter as tk
# 创建一个简单的Tkinter窗口
root = tk.Tk()
root.title("Tkinter检查")
# 添加一个标签
label = tk.Label(root, text="Tkinter已安装!")
label.pack()
# 启动主事件循环
root.mainloop()