[Numpy-discussion] List Array References?
Davide Albanese
albanese@fbk...
Fri Feb 15 06:54:40 CST 2008
Whith "standard" Python:
>>> who()
Robin ha scritto:
> On Thu, Feb 14, 2008 at 8:43 PM, Alexander Michael <lxander.m@gmail.com> wrote:
>
>> Is there a way to list all of the arrays that are referencing a given
>> array? Similarly, is there a way to get a list of all arrays that are
>> currently in memory?
>>
>
> For the second question, if you are working interactively in Ipython, you can do
> %who ndarray
> or
> %whos ndarray
> to get a list of arrays.
>
> It might be possible to get this functionality within a script/program
> through the ipython api, but I'm afraid I don't know much about that.
>
> Cheers,
>
> Robin
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
More information about the Numpy-discussion
mailing list