Re: [Tutor] html table parse

2012-11-07 Thread Alan Gauld
On 07/11/12 20:50, Christopher Conner wrote: Python has a native HTML parser. http://docs.python.org/2/library/htmlparser.html It does, but frankly BS is much easier to use and more forgiving. I wouldn't recommend that the OP drop BS to use htmlparser To the OP, do you understand HTML? parsi

Re: [Tutor] html table parse

2012-11-07 Thread Joel Goldstick
I've used bs4 to extract data from a table, and found it pretty nice. Can you show some code with specific problems you encountered? On Wed, Nov 7, 2012 at 3:50 PM, Christopher Conner wrote: > > > Hi ALL, > > > > I tied to use python to do some html parsing. More specifically, I want > to > > e

Re: [Tutor] html table parse

2012-11-07 Thread Christopher Conner
> Hi ALL, > > I tied to use python to do some html parsing. More specifically, I want to > extract data from some html tables. Could you give me some suggestions which > library should use? I tried Beautiful Soup, but I couldn't find anything to > do with table parsing. > > Thanks ! > > > > _

[Tutor] html table parse

2012-11-07 Thread wenhao
Hi ALL, I tied to use python to do some html parsing. More specifically, I want to extract data from some html tables. Could you give me some suggestions which library should use? I tried Beautiful Soup, but I couldn't find anything to do with table parsing. Thanks ! __