+ 2
How do this ?
from colored import fg, bg, attr text = fg('white') + bg('red') + 'Hello World' + attr('bold') print(text) But I must install this module for using it. Is there standard libraries to make font style ?
2 Answers
+ 2
But tkinter isn't standard module
+ 1
https://docs.python.org/3/library/tkinter.font.html
https://www.tutorialspoint.com/python/tk_fonts.htm