サイトに行って、beautiful soup4をダウンロードして解凍してからpythonのlibに入れました。
beautifulsoup4-4.4.1.tar
どうしたらpythonで利用できるでしょうか?
助言よろしくお願いします
下のコードで利用するつもりです
コード import urllib from BeautifulSoup import * url=input('Enter -') html=urllib.urlopen(url).read() soup=BeautifulSoup(html) tags=soup('a') for tag in tags: print (tag.get('href',NONE))
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。