[IPython-dev] ipalias deprecated

Ville Vainio vivainio at gmail.com
Mon Jan 30 16:18:54 EST 2006


ipalias is now redundant (though it still works):

[~/ipython]|1> ls /tmp
gconfd-arja/   hsperfdata_ville/  mapping-arja=   orbit-arja/   ssh-HtHjo10614/
gconfd-ville/  keyring-OXhMgA/    mapping-ville=  orbit-ville/

[~/ipython]|2> hist
1: _ip.system("ls -F --color=auto /tmp")
2: _ip.magic("hist ")

Note how the ls-alias is expanded and then called with _ip.system().

--
Ville Vainio - http://tinyurl.com/2prnb
http://vainio.blogspot.com




More information about the IPython-dev mailing list