Loading

【Day4】3.urllib模块使用案例

import urllib.request as ur
ret = ur.urlopen('https://edu.csdn.net/').read()
with open('edu.html','wb') as f:
    f.write(ret)
posted @ 2019-11-20 14:19  5572  阅读(141)  评论(0编辑  收藏  举报