Hi,
I am writing a cgi script for a web database query "results" page and I need to display the results in an html table. My question: 'Is there a way to print out a list of words without the commas and the square brackets?' e.g if this is the list: is there a way i can get it to print cat, dog, mouse, rat (exactly in the green text format ?
I tried running a loop like this:
for word in list:
print word,
but that breaks up the columns of the table since each list consist of different numbers of elements. If u have any ideas, i'd be glad to know.
Thanks in advance,
ymf