BeautifulSoup - syntactical analyzer .
Further discussion really depends on the specific situation in which you are and on the complexity of a particular web page.
If you need to interact with a web page: submit forms, click buttons, scroll, etc. - you need to use a tool that uses a real browser, for example selenium.
, , javascript , mechanize .
, urllib2 requests.