##// END OF EJS Templates
Now IPython works with OS X 10.5 (Leopards) libedit based readline module.
Now IPython works with OS X 10.5 (Leopards) libedit based readline module.

File last commit:

r763:3b7d7e50
r884:dc8f93bd
Show More
ipy_profile_scipy.py
25 lines | 468 B | text/x-python | PythonLexer
vivainio
crlf cleanup
r680 """ IPython 'sci' profile
Replaces the old scipy profile.
"""
import IPython.ipapi
import ipy_defaults
def main():
ip = IPython.ipapi.get()
try:
ip.ex("import numpy")
fperez
- new doctest_mode magic to toggle doctest pasting/prompts....
r763 ip.ex("import scipy")
vivainio
crlf cleanup
r680
ip.ex("from numpy import *")
fperez
- new doctest_mode magic to toggle doctest pasting/prompts....
r763 ip.ex("from scipy import *")
vivainio
crlf cleanup
r680 print "SciPy profile successfully loaded."
except ImportError:
print "Unable to start scipy profile, are scipy and numpy installed?"
fperez
- new doctest_mode magic to toggle doctest pasting/prompts....
r763 main()