Python urllib.request.urlopen() returning error 10061?

后端 未结 2 653
情书的邮戳
情书的邮戳 2020-12-18 08:11

I\'m trying to download the HTML of a page (http://www.google.com in this case) but I\'m getting back an error. Here is my interactive prompt session:



        
2条回答
  •  天命终不由人
    2020-12-18 08:23

    The error comes from operating system level and is not related to Python. It would be same with any programming language.

    Contact your network administration to see what's the matter unless you can resolve firewall issues yourself. If you need a HTTP proxy then you can configure one for urllib.

提交回复
热议问题