Show More
@@ -1,32 +1,31 b'' | |||
|
1 | 1 | """ User configuration file for IPython |
|
2 | 2 | |
|
3 | 3 | This is a more flexible and safe way to configure ipython than *rc files |
|
4 | 4 | (ipythonrc, ipythonrc-pysh etc.) |
|
5 | 5 | |
|
6 | 6 | This file is always imported on ipython startup. You can import the |
|
7 | 7 | ipython extensions you need here (see IPython/Extensions directory). |
|
8 | 8 | |
|
9 | 9 | Feel free to edit this file to customize your ipython experience. |
|
10 | 10 | |
|
11 | 11 | Note that as such this file does nothing, for backwards compatibility. |
|
12 | 12 | Consult e.g. file 'ipy_profile_sh.py' for an example of the things |
|
13 | 13 | you can do here. |
|
14 | 14 | |
|
15 | 15 | """ |
|
16 | 16 | |
|
17 | 17 | # Most of your config files and extensions will probably start with this import |
|
18 | 18 | |
|
19 | 19 | import IPython.ipapi |
|
20 | 20 | ip = IPython.ipapi.get() |
|
21 | 21 | |
|
22 | 22 | # You probably want to uncomment this if you did %upgrade -nolegacy |
|
23 | 23 | # import ipy_sane_defaults |
|
24 | 24 | |
|
25 | 25 | def main(): |
|
26 | 26 | o = ip.options() |
|
27 | import ipy_apps | |
|
28 | 27 | # An example on how to set options |
|
29 | 28 | #o.autocall = 1 |
|
30 | 29 | |
|
31 | 30 | main() |
|
32 | 31 |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now