On Fri, Jul 11, 2008 at 12:02 PM, Eli Brosh <[EMAIL PROTECTED]> wrote:
> In [1]: a=2
>
> In [2]: who
> a
>
> In [3]: from pylab import *
>
> In [4]: who
> Out[4]: <function who at 0x0141FAF0>
> Why is this happening?
Because pylab provides its own who _function_, which overrides the
ipython command ('magic function', in ipythonese).
> Is there a way to use the who command with pylab ?
Try
%who
instead. The '%' disambiguates and tells ipython that you are
explicitly after the magic function, not any other python fuction
currently available.
Regards,
f
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users