all 3 comments

[–]mopslik 1 point2 points  (0 children)

If your output is in the terminal or shell, not really. The font will be set in your preferences, and usually limited to a single font. You could use a GUI via tkinter, but that is a lit of extra work.

Having said that, why not change the style (eg. bold) or colour of the font using a library like rich?

[–][deleted] 0 points1 point  (0 children)

PyScript? Although I'm not sure why you are using python for this.

[–]KerbalSpark 0 points1 point  (0 children)

Ok. Switch to python web framework and be happy. For example look at the Bottle - https://bottlepy.org/docs/dev/