Why " ".some_string is often used ?
Christos TZOTZIOY Georgiou
tzot at sil-tec.gr
Thu Jan 8 12:08:55 EST 2004
On Thu, 08 Jan 2004 03:50:04 -0800, rumours say that Erik Max Francis
<max at alcyone.com> might have written:
[' '.join discussion]
>And above all, of course, if you think it personally looks ugly, you can
>
> from string import join
>
>or write your own join function that operates over sequences and does
>whatever else you might wish. That's what the flexibility is there for.
I believe str.join(string, sequence) works best for the functional types
(no need to rely on the string module).
--
TZOTZIOY, I speak England very best,
Ils sont fous ces Redmontains! --Harddix
More information about the Python-list
mailing list