Answers for "script to see what tkinter fonts installed on system"

1

script to see what tkinter fonts installed on system

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())
Posted by: Guest on August-05-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language