naive doc question
duncan.booth at invalid.invalid
Sun Jan 30 12:28:45 CET 2005
Gabriel B. wrote:
> Is it just me that can't find a full reference in the docs?
> I wanted a list of all the methods of dict for example... where can i
> find it?
> Thanks, and sorry if this question is just dumb, i really can't find
If you want to find out about all the methods of dict then try:
from a shell prompt, or
from the interactive interpreter.
The catch is that many of the methods that will be shown aren't really
relevant to dictionaries, so you will need to ignore the irrelevant ones.
Run pydoc interactively ('lib\pydoc.py -g') or as a web-server if you want
to get the output as strangely coloured html. e.g. 'lib\pydoc.py -p 8081'
then point your browser at 'http://localhost:8081/dict' for help on the
dict type. (Pick a different port number if 8081 is used on your machine.)
http://localhost:8081/__builtin__ is a good starting point to browse the
builtin types, and http://localhost:8081/ will give you an index of all the
modules installed on your system.
More information about the Python-list