##// END OF EJS Templates
some sci profile fixes
some sci profile fixes

File last commit:

r659:3693a249
r659:3693a249
Show More
ipy_profile_sci.py
17 lines | 418 B | text/x-python | PythonLexer
import IPython.ipapi
import ipy_defaults
def main():
ip = IPython.ipapi.get()
try:
ip.ex("import scipy")
ip.ex("import numpy")
ip.ex("from scipy import *")
ip.ex("from numpy import *")
print "SciPy profile successfully loaded."
except ImportError:
print "Unable to start scipy profile, are scipy and numpy installed?"
main()