📅  最后修改于: 2022-03-11 14:48:36.083000             🧑  作者: Mango
import sys
if sys.version_info.major == 3:
import tkinter as tk, tkinter.font as tk_font
else:
import Tkinter as tk, tkFont as tk_font
root = tk.Tk()
print(tk_font.families())
print(tk_font.names())