Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #31714 > unrolled thread
| Started by | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| First post | 2012-10-19 09:34 +0100 |
| Last post | 2012-10-19 10:19 +0000 |
| Articles | 4 — 2 participants |
Back to article view | Back to comp.lang.python
Python interactive help() Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-19 09:34 +0100
Re: Python interactive help() Duncan Booth <duncan.booth@invalid.invalid> - 2012-10-19 08:56 +0000
Re: Python interactive help() Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-10-19 10:09 +0100
Re: Python interactive help() Duncan Booth <duncan.booth@invalid.invalid> - 2012-10-19 10:19 +0000
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2012-10-19 09:34 +0100 |
| Subject | Python interactive help() |
| Message-ID | <mailman.2493.1350635687.27098.python-list@python.org> |
Good morning/afternoon/evening all, Where is this specific usage documented as my search engine skills have let me down? By this I mean entering help() without parameters to get the following output and then the help> prompt. C:\Users\Mark\workspace\CrossCode>py -3 Python 3.3.0 (v3.3.0:bd8afb90ebf2, Sep 29 2012, 10:55:48) [MSC v.1600 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> help() Welcome to Python 3.3! This is the interactive help utility. If this is your first time using Python, you should definitely check out the tutorial on the Internet at http://docs.python.org/3.3/tutorial/. Enter the name of any module, keyword, or topic to get help on writing Python programs and using Python modules. To quit this help utility and return to the interpreter, just type "quit". To get a list of available modules, keywords, or topics, type "modules", "keywords", or "topics". Each module also comes with a one-line summary of what it does; to list the modules whose summaries contain a given word such as "spam", type "modules spam". help> Cheers. Mark Lawrence. -- Cheers. Mark Lawrence.
[toc] | [next] | [standalone]
| From | Duncan Booth <duncan.booth@invalid.invalid> |
|---|---|
| Date | 2012-10-19 08:56 +0000 |
| Message-ID | <XnsA0F165099333Bduncanbooth@127.0.0.1> |
| In reply to | #31714 |
Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: > Good morning/afternoon/evening all, > > Where is this specific usage documented as my search engine skills have > let me down? By this I mean entering help() without parameters to get > the following output and then the help> prompt. > It is documented under 'built-in functions'. http://docs.python.org/library/functions.html#help -- Duncan Booth http://kupuguy.blogspot.com
[toc] | [prev] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2012-10-19 10:09 +0100 |
| Message-ID | <mailman.2499.1350637601.27098.python-list@python.org> |
| In reply to | #31719 |
On 19/10/2012 09:56, Duncan Booth wrote: > Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: > >> Good morning/afternoon/evening all, >> >> Where is this specific usage documented as my search engine skills have >> let me down? By this I mean entering help() without parameters to get >> the following output and then the help> prompt. >> > It is documented under 'built-in functions'. > > http://docs.python.org/library/functions.html#help > > Well Foxtrot Mike :-) Thanks for the fast response. -- Cheers. Mark Lawrence.
[toc] | [prev] | [next] | [standalone]
| From | Duncan Booth <duncan.booth@invalid.invalid> |
|---|---|
| Date | 2012-10-19 10:19 +0000 |
| Message-ID | <XnsA0F17334F8414duncanbooth@127.0.0.1> |
| In reply to | #31721 |
Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: > On 19/10/2012 09:56, Duncan Booth wrote: >> Mark Lawrence <breamoreboy@yahoo.co.uk> wrote: >> >>> Good morning/afternoon/evening all, >>> >>> Where is this specific usage documented as my search engine skills have >>> let me down? By this I mean entering help() without parameters to get >>> the following output and then the help> prompt. >>> >> It is documented under 'built-in functions'. >> >> http://docs.python.org/library/functions.html#help >> >> > > Well Foxtrot Mike :-) Thanks for the fast response. > A harder question would have been if you asked where 'exit()', 'quit()' are documented. For some reason they are hidden under "Built-in constants" (even though the documentation includes the function call syntax) alongside 'license' and 'credits' which are documented without the parentheses but are also callable. All but 'credits' behave similarly having a repr that gives you instructions to call them and doing something different when you do call them. 'credits' just gives you the same text whether or not you call it. -- Duncan Booth http://kupuguy.blogspot.com
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web