📜  如何在 pycharm 中安装 tkinter - Python 代码示例

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

代码示例1
# Install the future package
# Test to see if tkinter is installed using this code

import tkinter as tk

root = tk.Tk()

root.mainloop()

# Make sure the code is inside your main file or runs inside the main file