[issue4534] problem with str.join - should work with list input, error says requires 'str' object

David W. Lambert report at bugs.python.org
Thu Dec 4 23:30:46 CET 2008


David W. Lambert <lambertdw at corning.com> added the comment:

Try this---

def List_to_String(lis,separator=''):
    return separator.join(lis)

----------
nosy: +LambertDW

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4534>
_______________________________________


More information about the Python-bugs-list mailing list