All formats

OFD libraries for Python

For text-only tasks on simple files, you can also read OFD with the standard library: open the ZIP with zipfile, follow OFD.xml to Document.xml and the page Content.xml files, and collect ofd:TextCode elements with xml.etree.ElementTree.