##// END OF EJS Templates
bzr completer caches the commands (only runs bzr help commands on the first run)
bzr completer caches the commands (only runs bzr help commands on the first run)

File last commit:

r988:2f09c2ab
r1067:8c46506d
Show More
ipy_profile_scipy.py
25 lines | 468 B | text/x-python | PythonLexer
""" 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")
ip.ex("import scipy")
ip.ex("from numpy import *")
ip.ex("from scipy import *")
print "SciPy profile successfully loaded."
except ImportError:
print "Unable to start scipy profile, are scipy and numpy installed?"
main()