##// END OF EJS Templates
Refactoring of the notebooks cell management....
Refactoring of the notebooks cell management. * Cell insertion code completely rewritten. We now have two methods rather than 9: insert_cell_above, insert_cell_below. * Renaming methods to be more consistent. * Creating new methods to provide a uniform API. * Minor bug fixes.

File last commit:

r4856:d3ee41f9
r5945:fd82b350
Show More
__init__.py
12 lines | 305 B | text/x-python | PythonLexer
"""The IPython HTML Notebook"""
# check for tornado 2.1.0
msg = "The IPython Notebook requires tornado >= 2.1.0"
try:
import tornado
except ImportError:
raise ImportError(msg)
else:
if tornado.version_info < (2,1,0):
raise ImportError(msg+", but you have %s"%tornado.version)
del msg