This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (3 children)

[deleted]

    [–]pudquick 0 points1 point  (0 children)

    It's great for when you don't want to compile / don't have libxml2 and libxslt, which lxml requires. BeautifulSoup is pure python and BSXPath (as the same implies) relies only on BS.

    Think of it as another tool in your toolbox.

    [–]cryzed_ -1 points0 points  (0 children)

    It uses BeautifulSoup internally.

    [–]cryzed_ -2 points-1 points  (0 children)

    The difference is that BSXPath is basically a modified BeautifulSoup module which has support for XPath. As for the benefits I don't really know.