いきなりどうした どうも、ここ最近javascriptやらブックマークレットがどうのとか、なんやらって関係ない人にはほんっとにいらん記事バッカあげてるんですが、 pythonはじめました なんだいきなり、pythonってなんぞやって人は、こいつの将来性にギョッとすると思います。 手始めに「新幹線の料金」 練習がてら、さくっと出してくれるプログラムを組んでみました。 import lxml import codecs from bs4 import BeautifulSoup import urllib.request q = "http://www.shinkansen.co.jp/ryoukin_tokaido_sanyo.html" html = urllib.request.urlopen(q).read() soup = BeautifulSoup(html, "lxml") ta