You can access websites through the HTTP protocol client: httplib
Although perhaps you would like urllib2 , in particular urllib2.urlopen
Here is a small example about using urllib2:
import urllib2 page = urllib2.urlopen("http://example.com/").read() print page
source share