ipy_system_conf.py
24 lines
| 551 B
| text/x-python
|
PythonLexer
vivainio
|
r130 | """ System wide configuration file for IPython. | ||
This will be imported by ipython for all users. | ||||
After this ipy_user_conf.py is imported, user specific configuration | ||||
should reside there. | ||||
""" | ||||
vivainio
|
r226 | import IPython.ipapi | ||
ip = IPython.ipapi.get() | ||||
vivainio
|
r130 | |||
# add system wide configuration information, import extensions etc. here. | ||||
# nothing here is essential | ||||
import sys | ||||
vivainio
|
r151 | import ext_rehashdir # %rehashdir magic | ||
import ext_rescapture # var = !ls and var = %magic | ||||
vivainio
|
r226 | import pspersistence # %store magic | ||
vivainio
|
r242 | import clearcmd # %clear | ||
vivainio
|
r226 | # Basic readline config | ||
fperez
|
r284 | o = ip.options | ||