[IPython-user] Autocall behaviour
Frédéric Mantegazza
mantegazza at ill.fr
Thu Feb 16 04:11:58 CST 2006
Le Jeudi 16 Février 2006 10:52, Frédéric Mantegazza a écrit :
> > setting autocall in another config file, e.g. ipy_user_conf.py:
> >
> > import IPython.ipapi
> > ip = IPython.ipapi.get()
> >
> > o = ip.options()
> > o.autocall = 2
>
> How do I use this config file ?
I've just realized that ipython automatically runs this file if found in the
current dir. But the syntax is not correct:
import IPython.ipapi
ip = IPython.ipapi.options()
ip.autocall = 2
It works fine in this case.
--
Frédéric
More information about the IPython-user
mailing list