On Mon, Oct 7, 2013 at 10:15 AM, Siegfried Gonzi
wrote:
> 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]
am I missing something, or is this what you get when you type a na
There isn't anything quite the same. (I think what you are really asking
for is a way to print the essential info about one variable name, at least
that is how I would use the IDL "help" procedure). In IPython, I use the
whos magic to do something similar, although it just prints this info for
all
The other answers tell you how to access Python's excellent quick reference
documentation, but from your examples I'm not sure if that's what you're
looking for? If you just want to know what value some variable has at the
interactive prompt, just type its name and hit enter. (This is a general
fea
On Mon, Oct 7, 2013 at 1:15 PM, Siegfried Gonzi
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
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
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
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= -> Array[1]
==
I have been looking for i