##// END OF EJS Templates
Merge pull request #1146 from minrk/savescript...
Merge pull request #1146 from minrk/savescript Allow saving notebook.py next to notebook.ipynb. This allows notebooks to be imported or %run via their .py companion file.

File last commit:

r4856:d3ee41f9
r5711:1184eb4f merge
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