Have a question for us? Use our contact sales form:
from BeautifulSoup import BeautifulSoup as Soup import urllib url = urllib.urlopen("http://www.dialogic.com/") soup = Soup(url) soup.head.title
This will print out a fragment of HTML like this:
<title>Dialogic - IP, Wireless, and Video</title>
Definitely handy for quickly scraping information off a website and processing it.