string.join() syntax quirky?
Werner Schiendl
ws-news at gmx.at
Thu Nov 22 15:10:38 EST 2001
Hi,
"Marcin 'Qrczak' Kowalczyk" <qrczak at knm.org.pl> 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
method.
> 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
Werner
More information about the Python-list
mailing list