On 11.08.2010 18:07, fuglyducky wrote:
> Am I missing something??? Thanks in advance
Assign the returned value of your functions to something (like
sample_string) and it will work:
>
> # Global variable
> sample_string = ""
>
> def gen_header(sa
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'
Wieland
--
http://mail.python.