easy question about join method

nephish nephish at gmail.com
Mon Aug 7 00:38:18 EDT 2006


very helpful indeed.
i did a help([]) to see if it would give me anything for a list.
wow.
thanks a lot.

-sk

Terry Reedy wrote:
> The easy way to get one answer for buildin funcs and methods is the help
> function in the interactive interpreter (and Idle's and probably other
> imitations thereof) is, for example,
>
> >>> help(str.join)
> Help on method_descriptor:
>
> join(...)
>     S.join(sequence) -> string
>
>     Return a string which is the concatenation of the strings in the
>     sequence.  The separator between elements is S.
>
> To remind how to use 'help', 'help' is more informative than 'help(help)'
> ;-)
> 
> Terry Jan Reedy




More information about the Python-list mailing list