##// END OF EJS Templates
doc changes for sci profile
doc changes for sci profile

File last commit:

r660:1d162373
r660:1d162373
Show More
ipy_profile_sci.py
24 lines | 491 B | text/x-python | PythonLexer
vivainio
doc changes for sci profile
r660 """ IPython 'sci' profile
Replaces the old scipy profile.
"""
vivainio
created new sci profile, a modernized version of scipy
r658 import IPython.ipapi
import ipy_defaults
def main():
ip = IPython.ipapi.get()
vivainio
some sci profile fixes
r659 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?"
vivainio
created new sci profile, a modernized version of scipy
r658
vivainio
some sci profile fixes
r659 main()