The urllib2 module can be used to download data from the web (network resource access). This data can be a file, a website or whatever you want Python to .