newbie - HTML character codes

2006-12-13 Thread ardief
Hi sorry if I'm asking something very obvious but I'm stumped. I have a text that looks like this: Sentence 401 4.00pm — We set off again; this time via Tony's home to collect a variety of possessions, finally arriving at hospital no.3. Sentence 402 4.55pm — Tony is ushered into a side ward wit

Re: newbie - HTML character codes

2006-12-13 Thread ardief
thank you both - in the end I used recode, which I wasn't aware of. Fredrik, I had come across your script while googling for solutions, but failed to make it work On Dec 13, 2:21 pm, "Fredrik Lundh" <[EMAIL PROTECTED]> wrote: > "ardief" wrote: > > so

newbie/ merging lists of lists with items in common

2007-02-02 Thread ardief
Hi everyone Here is my problem: I have a list that looks like this - [['a', '13'], ['a', '3'], ['b', '6'], ['c', '12'], ['c', '15'], ['c', '4'], ['d', '2'], ['e', '11'], ['e', '5'], ['e', '16'], ['e', '7']] and I would like to end up with something like this, i.e. with the only one list per letter

Re: newbie/ merging lists of lists with items in common

2007-02-02 Thread ardief
On Feb 2, 1:55 pm, "ardief" <[EMAIL PROTECTED]> wrote: > Hi everyone > Here is my problem: > I have a list that looks like this - > [['a', '13'], ['a', '3'], ['b', '6'], ['c', '12'], [&#x