examples/notebook/test.ipynb
import sys
sys.stdout.write('hello world\n')
sys.stdout.flush()
for i in range(3):
sys.stdout.write('%s\n' % i)
sys.stdout.flush()
sys.stderr.write('output to stderr\n')
sys.stderr.flush()
sys.stdout.write('some more stdout text\n')
sys.stdout.flush()
$ e^{ \pm i\theta } = \cos \theta \pm i\sin \theta + \beta $
It really is!
this is a syntax error
print('test')
from IPython.display import Latex
Latex(
'''The mass-energy equivalence is described by the famous equation
$$E=mc^2$$
discovered in 1905 by Albert Einstein.
In natural units ($c$ = 1), the formula expresses the identity
\\begin{equation}
E=m
\\end{equation}'''
)