[IPython-user] setting options interactively

Ville M. Vainio vivainio@gmail....
Sat Jan 12 11:12:19 CST 2008


On Jan 12, 2008 5:26 PM, Thorsten Kampe <thorsten@thorstenkampe.de> wrote:

> is it possible to set options (those from ipythonrc(.ini))
> interactively? There are a few ones (like pprint/%Pprint) but what
> about the other ones?

Yes, just use _ip.options

[Q:/ipython]|1> _ip.options.au<TAB>
_ip.options.autocall        _ip.options.autoindent
_ip.options.autoedit_syntax _ip.options.automagic
_ip.options.autoexec
[Q:/ipython]|1> _ip.options.automagic = 0

You should note that many options only count when starting up IPython,
for example assigning to 'colors' does not automatically change the
color scheme.

-- 
Ville M. Vainio - vivainio.googlepages.com
blog=360.yahoo.com/villevainio - g[mail | talk]='vivainio'


More information about the IPython-user mailing list