Thanks Fernando,
I now tried %who.
The result was a huge output, apparently containing all the pylab functions.
This is exactly the thing I was trying to avoid.
I wanted to use the who command to see only the variables I defined as part
of the pylab session.
Is there a way to do just this ?
thank
Eli Brosh
On Fri, Jul 11, 2008 at 3:10 PM, Fernando Perez <[EMAIL PROTECTED]>
wrote:
> 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
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users