[urllib]urlretrieve在python3

Posted Life is too short, I python.

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了[urllib]urlretrieve在python3相关的知识,希望对你有一定的参考价值。

python3下面要使用:urllib.request.urlretrieve()这种形式的调用

1 from urllib.request import urlretrieve
2 
3 
4 urlretrieve(url, path)

 

以上是关于[urllib]urlretrieve在python3的主要内容,如果未能解决你的问题,请参考以下文章