Re: how to append semicolon to a variable

2005-08-13 Thread Grant Edwards
On 2005-08-13, tiissa <[EMAIL PROTECTED]> wrote: > Grant Edwards wrote: >> s = ';'.join([couch,price,sdate,city]) >> print s > > I'll risk myself with something like: > > s = ';'.join([tag.string for tag in [couch,price,sdate,city]]) > > Of course, from the question I wouldn't have any clue. I jus

Re: how to append semicolon to a variable

2005-08-13 Thread tiissa
Grant Edwards wrote: > On 2005-08-13, yaffa <[EMAIL PROTECTED]> wrote: > >>i have the following lines of python code: >> >> couch = incident.findNextSibling('td') >> price = couch.findNextSibling('td') >> sdate = price.findNextSibling('td') >> city = sdate.findNextSibling('td')

Re: how to append semicolon to a variable

2005-08-13 Thread Bengt Richter
On 13 Aug 2005 08:14:32 -0700, "yaffa" <[EMAIL PROTECTED]> wrote: >dear folks, > >i have the following lines of python code: > >couch = incident.findNextSibling('td') > price = couch.findNextSibling('td') > sdate = price.findNextSibling('td') > city = sdate.findNextSiblin

Re: how to append semicolon to a variable

2005-08-13 Thread Grant Edwards
On 2005-08-13, yaffa <[EMAIL PROTECTED]> wrote: > 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.s