how to append semicolon to a variable

yaffa yxxxxlxxxxx at gmail.com
Sat Aug 13 11:14:32 EDT 2005


dear folks,

i have the following lines of python code:

        couch = incident.findNextSibling('td')
	price = couch.findNextSibling('td')
	sdate = price.findNextSibling('td')
	city = sdate.findNextSibling('td')
	strUrl = addr.b.string
currently what this ends up doing is creating something like this

couch3201/01/2004newyork

now what i want to do is add a semicolon after the couch, price, sdate,
city so that i get something like this

couch;32;01/01/2004;new york

does anyone know how to do this?

thanks

yaffa

p.s. i tried couch = couch + ';' and then i tried couch = couch + ";"
and then i tried couch = couch.append ';'




More information about the Python-list mailing list