##// END OF EJS Templates
ipy_user_conf disables system_verbose as default
vivainio -
Show More
@@ -1,36 +1,43 b''
1 """ User configuration file for IPython
1 """ User configuration file for IPython
2
2
3 This is a more flexible and safe way to configure ipython than *rc files
3 This is a more flexible and safe way to configure ipython than *rc files
4 (ipythonrc, ipythonrc-pysh etc.)
4 (ipythonrc, ipythonrc-pysh etc.)
5
5
6 This file is always imported on ipython startup. You can import the
6 This file is always imported on ipython startup. You can import the
7 ipython extensions you need here (see IPython/Extensions directory).
7 ipython extensions you need here (see IPython/Extensions directory).
8
8
9 Feel free to edit this file to customize your ipython experience.
9 Feel free to edit this file to customize your ipython experience.
10
10
11 Note that as such this file does nothing, for backwards compatibility.
11 Note that as such this file does nothing, for backwards compatibility.
12 Consult e.g. file 'ipy_profile_sh.py' for an example of the things
12 Consult e.g. file 'ipy_profile_sh.py' for an example of the things
13 you can do here.
13 you can do here.
14
14
15 See http://ipython.scipy.org/moin/IpythonExtensionApi for detailed
15 See http://ipython.scipy.org/moin/IpythonExtensionApi for detailed
16 description on what you could do here.
16 description on what you could do here.
17 """
17 """
18
18
19 # Most of your config files and extensions will probably start with this import
19 # Most of your config files and extensions will probably start with this import
20
20
21 import IPython.ipapi
21 import IPython.ipapi
22 ip = IPython.ipapi.get()
22 ip = IPython.ipapi.get()
23
23
24 # You probably want to uncomment this if you did %upgrade -nolegacy
24 # You probably want to uncomment this if you did %upgrade -nolegacy
25 # import ipy_defaults
25 # import ipy_defaults
26
26
27 def main():
27 def main():
28 # Handy tab-completers for %cd, %run, import etc.
28 # Handy tab-completers for %cd, %run, import etc.
29 # Try commenting this out if you have completion problems/slowness
29 # Try commenting this out if you have completion problems/slowness
30 import ipy_stock_completers
30 import ipy_stock_completers
31
32 # uncomment if you want to get ipython -p sh behaviour
33 # without having to use command line switches
34
35 # import ipy_profile_sh
36
31
37
32 o = ip.options
38 o = ip.options
33 # An example on how to set options
39 # An example on how to set options
34 #o.autocall = 1
40 #o.autocall = 1
41 o.system_verbose = 0
35
42
36 main()
43 main()
General Comments 0
You need to be logged in to leave comments. Login now