list to string

Lars Behrens Spam.Buster at web.de
Fri Sep 5 22:06:52 EDT 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