##// END OF EJS Templates
Avoid loading readline in the kernel...
Avoid loading readline in the kernel This bit of code was loading readline even when there was no need for it. In a Qt console or notebook, try: 'readline' in sys.modules 'gnureadline' in sys.modules I plan to rework this code more extensively once we've switched to prompt_toolkit, but for now, this little fix should make the kernel start slightly faster.

File last commit:

r21609:fa0c8cb1
r21935:826a334f
Show More
mathjax.py
13 lines | 308 B | text/x-python | PythonLexer
Matthias BUSSONNIER
use argparse to make most of the parameters configurable
r8682 #!/usr/bin/python
MinRK
Add utility function for installing mathjax for offline use...
r4652 """
Matthias Bussonnier
remove mathjax utils...
r21604 `IPython.external.mathjax` is deprecated with IPython 4.0+
Mark Sienkiewicz at STScI
mods to install mathjax from an explicitly downloaded tar or zip file
r8154
Matthias Bussonnier
remove mathjax utils...
r21604 mathjax is now install by default with the notebook package
Mark Sienkiewicz at STScI
mods to install mathjax from an explicitly downloaded tar or zip file
r8154
Matthias Bussonnier
remove mathjax utils...
r21604 """
Matthias BUSSONNIER
use argparse to make most of the parameters configurable
r8682
Matthias Bussonnier
remove mathjax utils...
r21604 import sys
Mark Sienkiewicz at STScI
mods to install mathjax from an explicitly downloaded tar or zip file
r8154
if __name__ == '__main__' :
Matthias Bussonnier
Be more descriptive in error message.
r21609 sys.exit("IPython.external.mathjax is deprecated, Mathjax is now installed by default with the notebook package")
MinRK
Add utility function for installing mathjax for offline use...
r4652