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 feature of the prompt: it shows you the value returned by whatever you type, whether that be a single variable or a complex expression.)
Some other useful commands: dir(x), type(x) -n On 7 Oct 2013 18:17, "Siegfried Gonzi" <[email protected]> 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 > [email protected] > http://mail.scipy.org/mailman/listinfo/numpy-discussion >
_______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
