[Chennaipy] url access through proxy

chandra chandru2000 at hotmail.com
Sat May 16 09:06:22 CEST 2015


Dear Team,
 
working from company's system.  Trying to access an url from a program. 
 
from urllib.request import urlopen
test_url = urlopen("http://www.reddit.com/")Getting following messageurllib.error.HTTPError: HTTP Error 407: Proxy Authentication Required
Process finished with exit code 1 orread_url = urllib2.urlopen(http://www.imdb.com/date)gives following messageurllib2.HTTPError: HTTP Error 407: Proxy Authentication Required Need help on how to access any url through an organization's proxy.   syntax, and a dummy example will be helpful.
Thanks and regards,
Chandrasekhar
9444380425

 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/chennaipy/attachments/20150516/65ae7cb2/attachment.html>


More information about the Chennaipy mailing list