Python環境搭建以及urllib request模塊使用

問題引入:也是剛接觸python,然後就就在python官網上下載了python2.7版本,但是在使用urllib request模塊時一直報錯,後來解決辦法是將python升級到最新版本就可以使用,python3中自帶urllib request模塊。 request模塊使用: # coding=utf-8 from urllib.request import urlopen html = u
相關文章
相關標籤/搜索