sum and strings

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Fri Aug 18 12:02:58 EDT 2006


Paul Rubin:
> Sybren Stuvel:
> > Because of "there should only be one way to do it, and that way should
> > be obvious". There are already the str.join and unicode.join methods,
>
> Those are obvious???

They aren't fully obvious (because they are methods of the separator
string), but after reading some documentation about string methods, and
after some tests done on the Python shell, you too can probably use
then without much problems.

Bye,
bearophile




More information about the Python-list mailing list