string.join() syntax quirky?

Werner Schiendl ws-news at
Thu Nov 22 21:10:38 CET 2001


"Marcin 'Qrczak' Kowalczyk" <qrczak at> wrote in message
news:slrn9vqk7s.6rc.qrczak at qrnik.zagroda...
> It seems backwards for me - the sequence is more important than the
> separator - but I wouldn't treat it as a list method either. More
> as a global function.

This option does exist anyway, you can just use the string module.
It has a join function, which ends up calling the delimiters strings join

> But I'm strange in that I don't believe in OOP as a universal way
> of life.
-- snip --

Hm, seems I'm strange then, too :-).

best regards

More information about the Python-list mailing list