Re: [Tutor] Using Beautiful Soup to extract tag names

2006-03-14 Thread Kent Johnson
Ed Singleton wrote: > As always Kent, you're amazing. Thank you! > > That will do perfectly. (Though the ElementTree documentation seems a > bit difficult to get through. I'm sure I'll get through it > eventually). Unfortunately I have to agree with you on this one. ET is going to be part of

Re: [Tutor] Using Beautiful Soup to extract tag names

2006-03-14 Thread Ed Singleton
As always Kent, you're amazing. That will do perfectly. (Though the ElementTree documentation seems a bit difficult to get through. I'm sure I'll get through it eventually). Thanks Ed On 14/03/06, Kent Johnson <[EMAIL PROTECTED]> wrote: > Ed Singleton wrote: > > I have (unfortunately) receive

Re: [Tutor] Using Beautiful Soup to extract tag names

2006-03-14 Thread Kent Johnson
Ed Singleton wrote: > I have (unfortunately) received some data in XML format. I need to > use it in Python, preferably as a list of dictionaries. The data is a > flat representation of a table, in the style: > > > Some Data > Some Data > ... > > > Some Data > Some Data > ... > > and so on (

[Tutor] Using Beautiful Soup to extract tag names

2006-03-14 Thread Ed Singleton
I have (unfortunately) received some data in XML format. I need to use it in Python, preferably as a list of dictionaries. The data is a flat representation of a table, in the style: Some Data Some Data ... Some Data Some Data ... and so on (where tablename is always the same in one file).