##// END OF EJS Templates
created new sci profile, a modernized version of scipy
vivainio -
Show More
@@ -0,0 +1,18 b''
1 import ipy_defaults
2 # import ...
3 # Load Numpy an SciPy by themselves so that 'help' works on them
4
5 import IPython.ipapi
6 import ipy_defaults
7
8 def main():
9 ip = IPython.ipapi.get()
10
11 ip.ex("import scipy")
12 ip.ex("import numpy")
13
14 ip.ex("from scipy import *")
15 ip.ex("from numpy import *")
16
17 if __name__ == "__main__":
18 main() No newline at end of file
@@ -55,7 +55,7 b' def install():'
55 mkshortcut(python,'IPython command prompt mode',f,a)
55 mkshortcut(python,'IPython command prompt mode',f,a)
56
56
57 f = ip_dir + r'\scipy.lnk'
57 f = ip_dir + r'\scipy.lnk'
58 a = prefix + r'\scripts\ipython -pylab -p scipy'
58 a = prefix + r'\scripts\ipython -pylab -p sci'
59 mkshortcut(python,'IPython scipy profile',f,a)
59 mkshortcut(python,'IPython scipy profile',f,a)
60
60
61 # Create documentation shortcuts ...
61 # Create documentation shortcuts ...
General Comments 0
You need to be logged in to leave comments. Login now