import urllib.request, urllib.parse, urllib.error

URL = 'http://www.github.com'
PROXY_ADDRESS = "150.66.1.137:80" # By Googling free proxy server

if __name__ == '__main__':

    proxy = urllib.request.ProxyHandler({"http" : PROXY_ADDRESS})
    opener = urllib.request.build_opener(proxy)
    urllib.request.install_opener(opener)
    resp = urllib.request.urlopen(URL)

    print ("Proxy server returns response headers: %s " %resp.headers)

