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


Groups > comp.lang.python > #79718 > unrolled thread

Finding my way around help

Started byRustom Mody <rustompmody@gmail.com>
First post2014-10-26 08:14 -0700
Last post2014-10-26 08:14 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python


Contents

  Finding my way around help Rustom Mody <rustompmody@gmail.com> - 2014-10-26 08:14 -0700

#79718 — Finding my way around help

FromRustom Mody <rustompmody@gmail.com>
Date2014-10-26 08:14 -0700
SubjectFinding my way around help
Message-ID<fcfb3e30-4647-4b98-8e23-a3f16cf2a2c2@googlegroups.com>
Context:
I will be showing the way around to some experienced programmers
new to python.

Do

>>> help()

Among other things I get:

| 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".

However I find it returns to the normal REPL with just a return;
no quit.  I would have expected a special help REPL to keep running
till I give quit. What gives?

Also I tried
>>> help(help)

This shows the docstring for class _Helper(builtins.object)

However if I do this
>>> from pydoc import help
>>> help(help)

I get more useful help.

Seems the wrong way round...

Above is true for 2.7 and 3.4.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web