python idioms: (was: a really cool python feature)

Justin Sheehy dworkin at ccs.neu.edu
Thu May 11 14:00:32 EDT 2000


Grant Griffin <g2 at seebelow.org> writes:

> > BTW, the usual way to do that is
> > 
> >   string.join(somenames, ", ")
> > 
> 
> Forgive a possible newbie FAQ, but is there a page of Python idoms like
> this?

The problem is what you consider an idiom.  The case above might
require a standard idiom in other languages, but when you have a
standard library function that does all of the work, documenting it
elsewhere as an "idiom" seems pointless.

In other words, the answer to your question is "The standard Python
Library Reference." <wink>

-Justin

 




More information about the Python-list mailing list