Show More
@@ -9,7 +9,6 b' Configuration and customization' | |||||
9 |
|
9 | |||
10 | intro |
|
10 | intro | |
11 | extensions/index |
|
11 | extensions/index | |
12 | ipython |
|
|||
13 | integrating |
|
12 | integrating | |
14 | editors |
|
13 | editors | |
15 | inputtransforms |
|
14 | inputtransforms |
@@ -44,6 +44,46 b' and sets)::' | |||||
44 | .. versionadded:: 2.0 |
|
44 | .. versionadded:: 2.0 | |
45 | list, dict and set methods for config values |
|
45 | list, dict and set methods for config values | |
46 |
|
46 | |||
|
47 | Example config file | |||
|
48 | ``````````````````` | |||
|
49 | ||||
|
50 | :: | |||
|
51 | ||||
|
52 | # sample ipython_config.py | |||
|
53 | c = get_config() | |||
|
54 | ||||
|
55 | c.TerminalIPythonApp.display_banner = True | |||
|
56 | c.InteractiveShellApp.log_level = 20 | |||
|
57 | c.InteractiveShellApp.extensions = [ | |||
|
58 | 'myextension' | |||
|
59 | ] | |||
|
60 | c.InteractiveShellApp.exec_lines = [ | |||
|
61 | 'import numpy', | |||
|
62 | 'import scipy' | |||
|
63 | ] | |||
|
64 | c.InteractiveShellApp.exec_files = [ | |||
|
65 | 'mycode.py', | |||
|
66 | 'fancy.ipy' | |||
|
67 | ] | |||
|
68 | c.InteractiveShell.autoindent = True | |||
|
69 | c.InteractiveShell.colors = 'LightBG' | |||
|
70 | c.InteractiveShell.confirm_exit = False | |||
|
71 | c.InteractiveShell.deep_reload = True | |||
|
72 | c.InteractiveShell.editor = 'nano' | |||
|
73 | c.InteractiveShell.xmode = 'Context' | |||
|
74 | ||||
|
75 | c.PromptManager.in_template = 'In [\#]: ' | |||
|
76 | c.PromptManager.in2_template = ' .\D.: ' | |||
|
77 | c.PromptManager.out_template = 'Out[\#]: ' | |||
|
78 | c.PromptManager.justify = True | |||
|
79 | ||||
|
80 | c.PrefilterManager.multi_line_specials = True | |||
|
81 | ||||
|
82 | c.AliasManager.user_aliases = [ | |||
|
83 | ('la', 'ls -al') | |||
|
84 | ] | |||
|
85 | ||||
|
86 | ||||
47 | Command line arguments |
|
87 | Command line arguments | |
48 | ---------------------- |
|
88 | ---------------------- | |
49 |
|
89 |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now