<[EMAIL PROTECTED]> wrote:
>I'm searching for the fastest way to convert a list to one big string.
The join() method of strings. The string instance in question being
the separator you want, so:
" ".join(test)
--
\S -- [EMAIL PROTECTED] -- http://www.chaos.org.uk/~sion/
___ | "Frankly I ha
[EMAIL PROTECTED] wrote:
> H!
>
> I'm searching for the fastest way to convert a list to one big string.
>
> For example:
> test = ['test','test2','test3']
'-'.join(test)
--
Maciej "Fiedzia" Dziardziel (fiedzia (at) fiedzia (dot) prv (dot) pl)
www.fiedzia.prv.pl
Stewardesses is the longest w
Thanks that's what i need.
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> H!
>
> I'm searching for the fastest way to convert a list to one big string.
>
> For example:
> test = ['test','test2','test3']
>
> print unlist(test)
>
>>test test2 test3 (string)
>
>
>
> I know I can make a loop like below but is that the fastest/best option
> ?
H!
I'm searching for the fastest way to convert a list to one big string.
For example:
test = ['test','test2','test3']
print unlist(test)
> test test2 test3 (string)
I know I can make a loop like below but is that the fastest/best option
?
def unlist(test):
output=''
for v in test:
output