[Tutor] trouble with beautiful soup

Danny Yoo dyoo at hashcollision.org
Fri Jan 1 13:17:28 EST 2016


According to the documentation for Beautiful Soup 3,

    http://www.crummy.com/software/BeautifulSoup/bs3/documentation.html

you must use one of the following:


    from BeautifulSoup import BeautifulSoup          # For processing HTML

OR

    from BeautifulSoup import BeautifulStoneSoup     # For processing XML

OR

    import BeautifulSoup                             # To get everything


Note that capitalization matters.


More information about the Tutor mailing list