Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
たとえば、フィールド A1 のデータをインポートするにはどうすればよいですか? etree.parse() を使用すると、xml ファイルがないため、エラーが発生します。
これはzipファイルです。
import zipfile from lxml import etree z = zipfile.ZipFile('mydocument.ods') data = z.read('content.xml') data = etree.XML(data) etree.dump(data)