Opposite of split

Wieland Hoffmann the_mineo at web.de
Sun Aug 15 20:27:35 CEST 2010

On 15.08.2010 20:24, Alex van der Spek wrote:
> Looking for a method that does the opposite of 'split', i.e. elements in
> a list are automatically concatenated with a user selectable spacer in
> between e.g. '\t'. 
>>> " ".join(["i","am","a","list"])
'i am a list'


More information about the Python-list mailing list