Thanks people, I learned a lot!! :)
I went for Herbert's solution in my application but I explored, and
learned from, all of them.
Tina
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Tina I <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I have a small, probably trivial even, problem. I have the following HTML:
> >
> > METAR:
> >
> > ENBR 270920Z 0KT FEW018 02/M01 Q1004 NOSIG
> >
> >
> > short-TAF:
> >
> > ENBR 270800Z 270918 VRB
On 27 Feb, 11:08, Tina I <[EMAIL PROTECTED]> wrote:
>
> I have a small, probably trivial even, problem. I have the following HTML:
>>
>> METAR:
>>
>> ENBR 270920Z 0KT FEW018 02/M01 Q1004 NOSIG
>>
>>
>> short-TAF:
>>
>> ENBR 270800Z 270918 VRB05KT FEW020 SCT040
>>
>>
>> long-
Tina I schrieb:
> Hi everyone,
>
> I have a small, probably trivial even, problem. I have the following HTML:
>>
>> METAR:
>>
>> ENBR 270920Z 0KT FEW018 02/M01 Q1004 NOSIG
>>
...
BeautifulSoup is really fun to work with ;-)
> I have played around with BeautifulSoup but I'm stuck at
Tina I:
> I have a small, probably trivial even, problem. I have the following HTML:
This is a little data munging problem.
If it's a one-shot problem, then you can just load it with a browser,
copy and paste it as text, and then process the lines of the text in a
simple way (splitting lines accor
Tina I wrote:
> Hi everyone,
>
> I have a small, probably trivial even, problem. I have the following HTML:
>>
>> METAR:
>>
>> ENBR 270920Z 0KT FEW018 02/M01 Q1004 NOSIG
>>
>>
>> short-TAF:
>>
>> ENBR 270800Z 270918 VRB05KT FEW020 SCT040
>>
>>
>> long-TAF:
>>
>> ENBR 27121
Hi everyone,
I have a small, probably trivial even, problem. I have the following HTML:
>
> METAR:
>
> ENBR 270920Z 0KT FEW018 02/M01 Q1004 NOSIG
>
>
> short-TAF:
>
> ENBR 270800Z 270918 VRB05KT FEW020 SCT040
>
>
> long-TAF:
>
> ENBR 271212 VRB05KT FEW020 BKN030 TEMPO