![]() |
|
|
+ Search |
![]()
|
May 10th, 2006 15:40
stephen brown, chempaka biru,
The string method join() will let you join a list with any intervening string: >>> a = "a list of words".split() >>> a ['a', 'list', 'of', 'words'] >>> " ".join(a) 'a list of words' >>>