Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #31720

Re: Python interactive help()

Path csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'argument': 0.04; 'interpreter': 0.04; 'output': 0.04; 'subject:Python': 0.05; '"""': 0.05; 'class,': 0.07; 'function,': 0.07; 'method,': 0.07; 'subject:help': 0.07; 'given,': 0.09; 'grep': 0.09; 'lawrence': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:()': 0.09; 'looked': 0.10; 'keyword,': 0.16; 'received:80.91.229.3': 0.16; 'received:dip.t-dialin.net': 0.16; 'received:plane.gmane.org': 0.16; 'received:t-dialin.net': 0.16; 'url:py3k': 0.16; 'string': 0.17; 'wrote:': 0.17; 'documented': 0.17; 'module,': 0.17; 'string,': 0.17; 'url:dev': 0.17; 'parameters': 0.20; '(this': 0.24; 'header:User-Agent:1': 0.26; 'object,': 0.27; 'header:X-Complaints-To:1': 0.28; 'invoke': 0.29; 'starts': 0.29; 'function': 0.30; 'url:python': 0.32; 'to:addr :python-list': 0.33; 'built-in': 0.35; 'received:org': 0.36; 'url:org': 0.36; 'url:library': 0.36; 'subject:: ': 0.38; 'mark': 0.38; 'mean': 0.38; 'object': 0.38; 'url:docs': 0.38; 'page': 0.38; 'system.': 0.39; 'to:addr:python.org': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'help': 0.40; 'kind': 0.61; 'generated.': 0.65; 'topic,': 0.78; 'url:functions': 0.84
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Peter Otten <__peter__@web.de>
Subject Re: Python interactive help()
Date Fri, 19 Oct 2012 10:59:59 +0200
Organization None
References <k5r3ai$jt$1@ger.gmane.org>
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Gmane-NNTP-Posting-Host p5084b432.dip.t-dialin.net
User-Agent KNode/4.7.3
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2498.1350637217.27098.python-list@python.org> (permalink)
Lines 23
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1350637217 news.xs4all.nl 6973 [2001:888:2000:d::a6]:46598
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:31720

Show key headers only | View raw


Mark Lawrence wrote:

> Where is this specific usage documented as my search engine skills have
> let me down?  

find and grep ftw.

> By this I mean entering help() without parameters to get
> the following output and then the help> prompt.

http://docs.python.org/dev/py3k/library/functions.html#help

"""
help([object])
Invoke the built-in help system. (This function is intended for interactive 
use.) If no argument is given, the interactive help system starts on the 
interpreter console. If the argument is a string, then the string is looked 
up as the name of a module, function, class, method, keyword, or 
documentation topic, and a help page is printed on the console. If the 
argument is any other kind of object, a help page on the object is 
generated.
"""

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Python interactive help() Peter Otten <__peter__@web.de> - 2012-10-19 10:59 +0200

csiph-web