import tkinter import tkinter.font root=tkinter.Tk() fontlist=list(tkinter.font.families()) print(fontlist) root.mainloop()
This is how you Get the list of all available fonts in Tkinter just by executing a few lines of code.
import tkinter import tkinter.font root=tkinter.Tk() fontlist=list(tkinter.font.families()) print(fontlist) root.mainloop()
This is how you Get the list of all available fonts in Tkinter just by executing a few lines of code.