2014-09-22から1日間の記事一覧
サーバ移行で python2.4 から2.6になってた。 呼び出し方が違ったのでもメモpython2.4 from elementtree.ElementTree import * tree = parse("users.xml") python2.6 from xml.etree import ElementTree tree = ElementTree.parse("users.xml")
サーバ移行で python2.4 から2.6になってた。 呼び出し方が違ったのでもメモpython2.4 from elementtree.ElementTree import * tree = parse("users.xml") python2.6 from xml.etree import ElementTree tree = ElementTree.parse("users.xml")