Re: list.join()... re.join()...? Do they exist? (newbie questions...)

2005-10-01 Thread Benji York
googleboy wrote: > To get it to work I did this: > > > List[0] = list0 > List[1] = list1 > List[2] = list2 > List[3] = list3 > cat_list = list0 + '|' + flatblurb + '|' + flatcontents + '|' + flates > + '\n' > file.write(concat_list) > > But it seems to me that there is probably something more py

list.join()... re.join()...? Do they exist? (newbie questions...)

2005-10-01 Thread googleboy
Hi. In some google posts I searched suggested that there was a list.join() thing that I assume works like string.join [which I notice is now deprecated in favour of S.join()] It seems that I have been misled. I start with a text file that I split up to run some formatting over the various sectio