list to string

Lars Behrens Spam.Buster at web.de
Sat Sep 6 04:06:52 CEST 2003


Hi there!

I need help for cgi-script.

I've been fiddling around for quite a while, searched through lots of 
doc. But I didn't get it:

Can someone point me a way to change a list with arbitrary number of 
items to a string :

   vals = ['aaa', 'bbb', 'ccc']
   valstring = 'aaa, bbb, ccc'

Seems easy at the first glance, but...

Tia
Lars





More information about the Python-list mailing list