色々の練習も兼ねて、 Python で、 Twitter の public timeline から 名前を拾ってきて表示するプログラムを作成しました。 from xml.etree import ElementTree from urllib import urlopen e = ElementTree.ElementTree(file=urlopen("http://twitter.com/statuses/public_timeline.xml")) for n in e.findall(".//name"): print n.text 主に「みんなの Python」を参照しながら書きましたが、つまづいた点が二点ほど。 まず ElementTree は Python25/Lib/xml/etree/ElementTree.py で定義されているのですが この場合、 e = Elemen