Fork me on GitHub

[urllib]urlretrieve在python3

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

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

 

posted @ 2018-01-02 18:00  [sigai]  阅读(1885)  评论(0编辑  收藏  举报