##// END OF EJS Templates
Go to interactiveTB when ipy_user_conf or ipy_profile_PROF import ...
Go to interactiveTB when ipy_user_conf or ipy_profile_PROF import fails.

File last commit:

r205:ed111466
r233:dc0b44d5
Show More
ipy_user_conf.py
30 lines | 847 B | text/x-python | PythonLexer
""" User configuration file for IPython
This is a more flexible and safe way to configure ipython than *rc files
(ipythonrc, ipythonrc-pysh etc.)
This file is always imported on ipython startup. You can import the
ipython extensions you need here (see IPython/Extensions directory).
Feel free to edit this file to customize your ipython experience.
Note that as such this file does nothing, for backwards compatibility.
Consult e.g. file 'ipy_profile_sh.py' for an example of the things
you can do here.
"""
# Most of your config files and extensions will probably start with this import
import IPython.ipapi
ip = IPython.ipapi.get()
# You probably want to uncomment this if you did %upgrade -nolegacy
# import ipy_sane_defaults
def main():
o = ip.options()
# An example on how to set options
#o.autocall = 1
main()