##// END OF EJS Templates
Cleanup scipy profile for numpy use, after comments by Ryan.
fptest -
Show More

The requested changes are too big and content was truncated. Show full diff

@@ -1,43 +1,35 b''
1 # -*- Mode: Shell-Script -*- Not really, but shows comments correctly
1 # -*- Mode: Shell-Script -*- Not really, but shows comments correctly
2 #***************************************************************************
2 #***************************************************************************
3 #
3 #
4 # Configuration file for ipython -- ipythonrc format
4 # Configuration file for ipython -- ipythonrc format
5 #
5 #
6 # The format of this file is one of 'key value' lines.
6 # The format of this file is one of 'key value' lines.
7 # Lines containing only whitespace at the beginning and then a # are ignored
7 # Lines containing only whitespace at the beginning and then a # are ignored
8 # as comments. But comments can NOT be put on lines with data.
8 # as comments. But comments can NOT be put on lines with data.
9 #***************************************************************************
9 #***************************************************************************
10
10
11 # This is an example of a 'profile' file which includes a base file and adds
11 # This is an example of a 'profile' file which includes a base file and adds
12 # some customizaton for a particular purpose.
12 # some customizaton for a particular purpose.
13
13
14 # If this file is found in the user's ~/.ipython directory as ipythonrc-scipy,
14 # If this file is found in the user's ~/.ipython directory as ipythonrc-scipy,
15 # it can be loaded by calling passing the '-profile scipy' (or '-p scipy')
15 # it can be loaded by calling passing the '-profile scipy' (or '-p scipy')
16 # option to IPython.
16 # option to IPython.
17
17
18 # This example is meant to load several modules to turn ipython into a very
18 # This example is meant to load several modules to turn ipython into a very
19 # capable environment for high-end numerical work, similar to IDL or MatLab
19 # capable environment for high-end numerical work, similar to IDL or MatLab
20 # but with the beauty of the Python language.
20 # but with the beauty of the Python language.
21
21
22 # load our basic configuration with generic options
22 # load our basic configuration with generic options
23 include ipythonrc
23 include ipythonrc
24
24
25 # import ...
25 # import ...
26 # Load SciPy by itself so that 'help scipy' works
26 # Load Numpy an SciPy by themselves so that 'help' works on them
27 import_mod scipy
27 import_mod numpy scipy
28
28
29 # from ... import ...
29 # from ... import ...
30 import_some
30 import_some
31
31
32 # Now we load all of SciPy
32 # Now we load all of SciPy
33 # from ... import *
33 # from ... import *
34 import_all scipy IPython.numutils
34 import_all numpy
35
35 import_all scipy
36 # code
37 execute print 'Welcome to the SciPy Scientific Computing Environment.'
38 execute scipy.alter_numeric()
39
40 # File with alternate printer system for Numeric Arrays.
41 # Files in the 'Extensions' directory will be found by IPython automatically
42 # (otherwise give the explicit path):
43 execfile Extensions/numeric_formats.py
1 NO CONTENT: modified file
NO CONTENT: modified file
The requested commit or file is too big and content was truncated. Show full diff
General Comments 0
You need to be logged in to leave comments. Login now