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
> it 

If you want to find out about all the methods of dict then try:

  lib\pydoc.py dict

from a shell prompt, or

>>> help(dict)

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.

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to