ipy_system_conf.py
24 lines
| 533 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 | ||||
Bernardo B. Marques
|
r4872 | should reside there. | ||
vivainio
|
r130 | |||
""" | ||||
Brian Granger
|
r2027 | from IPython.core import ipapi | ||
ip = ipapi.get() | ||||
vivainio
|
r130 | |||
# add system wide configuration information, import extensions etc. here. | ||||
Bernardo B. Marques
|
r4872 | # nothing here is essential | ||
vivainio
|
r130 | |||
import sys | ||||
vivainio
|
r151 | import ext_rescapture # var = !ls and var = %magic | ||
vivainio
|
r226 | import pspersistence # %store magic | ||
vivainio
|
r242 | import clearcmd # %clear | ||
vivainio
|
r226 | |||
vivainio
|
r681 | import ipy_stock_completers | ||
vivainio
|
r689 | |||
Brian Granger
|
r2025 | ip.load('IPython.core.history') | ||