How in tkinter to adjust the size, color, and font of the text?

    2 answers 2

    tkinter.Text(root, font="Courier 20", bg="Black", fg=color) 

    So you can adjust the background, and font, and text color.

      With font you adjust the size and style of the font, and with fg you adjust the font color. More details can be found here.

       import tkinter root = tkinter.Tk() label = tkinter.Label(root, text='Hello word', font='Times 30', fg='#0F0').grid() root.mainloop()