Show More
@@ -120,17 +120,3 config file: | |||||
120 | .. sourcecode:: python |
|
120 | .. sourcecode:: python | |
121 |
|
121 | |||
122 | load_subconfig('ipython_config.py', profile='default') |
|
122 | load_subconfig('ipython_config.py', profile='default') | |
123 |
|
||||
124 | .. _startup_files: |
|
|||
125 |
|
||||
126 | Startup Files |
|
|||
127 | ------------- |
|
|||
128 |
|
||||
129 | If you want some code to be run at the beginning of every IPython session with |
|
|||
130 | a particular profile, the easiest way is to add Python (``.py``) or |
|
|||
131 | IPython (``.ipy``) scripts to your :file:`<profile>/startup` directory. Files |
|
|||
132 | in this directory will always be executed as soon as the IPython shell is |
|
|||
133 | constructed, and before any other code or scripts you have specified. If you |
|
|||
134 | have multiple files in the startup directory, they will be run in |
|
|||
135 | lexicographical order, so you can control the ordering by adding a '00-' |
|
|||
136 | prefix. |
|
General Comments 0
You need to be logged in to leave comments.
Login now