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())