Hi Chandrasekhar

On Sat, May 16, 2015 at 12:36 PM, chandra <chandru2...@hotmail.com> wrote:

> Dear Team,
>
> working from company's system.  Trying to access an url from a program.
>
>
> from urllib.request import urlopentest_url = urlopen("http://www.reddit.com/"; 
> <http://www.reddit.com/>)
>
> Getting following message
>
> urllib.error.HTTPError: HTTP Error 407: Proxy Authentication Required
> Process finished with exit code 1
>
>
>
> or
>
> read_url = urllib2.urlopen(http://www.imdb.com/date)
>
> gives following message
>
> urllib2.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.
>
>
>
Please requests module and since it is well designed and maintained. Have a
look at documentation for proxies [1].

[1]: http://docs.python-requests.org/en/latest/user/advanced/#proxies


> Thanks and regards,
> Chandrasekhar
> 9444380425
>
>
> _______________________________________________
> Chennaipy mailing list
> Chennaipy@python.org
> https://mail.python.org/mailman/listinfo/chennaipy
>
>


-- 

*Thanks & Regardskracekumar"Talk is cheap, show me the code" -- Linus
Torvaldshttp://kracekumar.com <http://kracekumar.com>*
_______________________________________________
Chennaipy mailing list
Chennaipy@python.org
https://mail.python.org/mailman/listinfo/chennaipy

Reply via email to