# Printing with Sympy

See:
* http://docs.sympy.org/latest/tutorial/
* http://docs.sympy.org/0.7.0/tutorial.html


```python
import sympy as sp
```


```python
x = sp.symbols("x")
integ = sp.Integral(sp.sqrt(1/x), x)
```

## Pretty print

### ASCII


```python
sp.pprint(integ, use_unicode=False)
```

### Unicode


```python
sp.pprint(integ, use_unicode=True)
```

## LaTeX


```python
print(sp.latex(integ))
```

## MathML


```python
sp.printing.mathml(integ)
```

86074458f60d5e84752f0f784d73bf448acb6a54
ipynb
Jupyter Notebook
nb_dev_python/python_sympy_printing_en.ipynb
jdhp-docs/python-notebooks
91a97ea5cf374337efa7409e4992ea3f26b99179
MIT
2017-05-03T12:23:36.000Z
2020-10-26T17:30:56.000Z
nb_dev_python/python_sympy_printing_en.ipynb
jdhp-docs/python-notebooks
91a97ea5cf374337efa7409e4992ea3f26b99179
MIT
nb_dev_python/python_sympy_printing_en.ipynb
jdhp-docs/python-notebooks
91a97ea5cf374337efa7409e4992ea3f26b99179
MIT
2020-10-26T17:30:57.000Z
2020-10-26T17:30:57.000Z
Qwen/Qwen-72B
1. YES
2. YES