##// END OF EJS Templates
Improve pylab support, find profiles in IPython's own directory....
Improve pylab support, find profiles in IPython's own directory. - Support "ipython -pylab" with a single dash, as this is an extremely widely used option and documented in many places, including books. - Now ipython -p foo will find profile foo from IPython/config/profile if shipped. This lets users find profiles shipped by IPython itself without having to install them (though the IPython directory has lowest priority).

File last commit:

r1248:19e3b286
r2357:51c4e56b
Show More
nbexample.py
11 lines | 268 B | text/x-python | PythonLexer
from notebook.markup import rest
rest.title('This is a Python Notebook')
rest.heading(1,'A first-level heading')
rest.text("""\
Some plain text, without any special formatting.
Below, we define a simple function to add two numbers.""")
def add(x,y):
return x+y