##// END OF EJS Templates
Added argparse with BSD license....
Added argparse with BSD license. Taken from: http://argparse.googlecode.com/svn/branches/r101-bsd/ This release was made by Steven Bethard, author of argparse, explicitly for the purpose of providing IPython with a BSD-licensed argparse. Many thanks to Steven!

File last commit:

r1248:19e3b286
r2350:4a72d6fe
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