Help Command Question

Jean-Michel Pichavant jeanmichel at sequans.com
Wed Jul 29 10:27:00 EDT 2015


----- Original Message ----- 

> From: "ltc hotspot" <ltc.hotspot at gmail.com>
> To: "python-list at python.org" <Python-list at python.org>
> Sent: Tuesday, 28 July, 2015 6:59:13 PM
> Subject: Help Command Question

> Hi Everyone,

> I'm trying to print a command of list options by using the help
> command in the iPython interpreter. Read captured copy of the
> printout as follows:

> 'Python 2.7.10 |Anaconda 2.3.0 (64-bit)| (default, May 28 2015,
> 16:44:52) [MSC v.
> 1500 64 bit (AMD64)]
> Type "copyright", "credits" or "license" for more information.

> IPython 3.2.0 -- An enhanced Interactive Python.
> Anaconda is brought to you by Continuum Analytics.
> Please check out: http://continuum.io/thanks and https://anaconda.org

> In [1]: help list
> File "<ipython-input-1-823a3ff84bc4>", line 1
> help list
> ^
> SyntaxError: invalid syntax.'

> Question: What is the correct help command?

> Regards,

> Hal


These are very basic questions for which you can find the answer with google. Did you check the ipython documentation ?

Anyway,

> help(list)

or

> list?

are what you're looking for.

JM


-- IMPORTANT NOTICE: 

The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.


More information about the Python-list mailing list