John J. Lee wrote:

> Duncan Booth <[EMAIL PROTECTED]> writes:
> [...]
>>    str.join(sep, list_of_str)
> [...]
> 
> Doesn't work with unicode, IIRC.
> 
> 
str.join won't work if sep is unicode, but generally you know what type the 
separator is and str.join will quite happily join a list of strings where 
one or more is unicode and return a unicode result.

If you know the separator is unicode then use unicode.join instead.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to