[Numpy-discussion] Equivalent to IDL's help function

Aron Ahmadia aron at ahmadia.net
Mon Oct 7 13:18:07 EDT 2013


If you're using IPython (strongly recommended)

a?
a??

If you're just using Python

help(a)

A


On Mon, Oct 7, 2013 at 1:15 PM, Siegfried Gonzi
<sgonzi at staffmail.ed.ac.uk> wrote:
> Hi all
>
> What is the equivalent to IDL its help function, e.g.
>
> ==
> IDL> a = make_array(23,23,)
>
> IDL> help,a
>
> will result in:
>
> A               FLOAT     = Array[23, 23]
>
> or
>
> IDL> a = create_struct('idl',23)
>
> IDL> help,a
>
> gives:
>
> A               STRUCT    = -> <Anonymous> Array[1]
>
> ==
>
> I have been looking for it ever since using numpy. It would make my life so much easier.
>
>
> Thanks, Siegfried
>
>
> --
> The University of Edinburgh is a charitable body, registered in
> Scotland, with registration number SC005336.
>
> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion at scipy.org
> http://mail.scipy.org/mailman/listinfo/numpy-discussion



More information about the NumPy-Discussion mailing list