##// END OF EJS Templates
Config system is finished!...
Config system is finished! * New load_subconfig(fname) function is available the namespace that config files are exec'd in. This can be used to load subconfigs. The implementation is a bit crazy, but Python is amazing and it works! See examples of its usage in IPython/config/profile. * Fully working example config files and profiles in IPython/config/default and IPython/config/profiles. Copy these to you .ipython dir and start playing around!

File last commit:

r1248:19e3b286
r2258:f38cafce
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