On Thu, Jun 11, 2015, at 14:32, Sebastian M Cheung via Python-list

wrote:

> How to pretty mathematical formulas in Python? Similar to Mathematica

> formats.

>

> Are there good packages to prettify mathematica formulas in Python?

>From a google search, apparently matplotlib has a module called mathtext

which uses a subset of LaTeX.

http://matplotlib.org/api/mathtext_api.htmlOf course, you've got to put your formula in LaTeX format... which is

the same format used on Stack Exchange and Wikipedia, so you should be

able to find plenty of resources to learn about it.