Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about odfpy

Read more about odfpy

python (65.2k questions)

javascript (44.3k questions)

reactjs (22.7k questions)

java (20.8k questions)

c# (17.4k questions)

html (16.3k questions)

r (13.7k questions)

android (13k questions)

Questions - odfpy

how to extract the titles of a document .odt in Libreoffice - Python

I have a document in the .odt file, I just want to extract the titles of this document : in other words , I want to extract the "sentenses " or in others words "the "line" whi...
test-img

dkk

python

libreoffice

odf

odfpy

Votes: 0

Answers: 0

OpenOffice odt document, regex, and arrays

I am trying to work with a ~300 page odt document. I know how to load documents in python, and least in a basic way. That didn't work for odt (it isn't a txt file). I researched this and installed the...
test-img

Iain Curtis-Shanley

python

arrays

regex

odt

odfpy

Votes: 0

Answers: 1

Latest Answer

Something like the following might work. Replace 'Your pattern here' with the regex pattern to replace. import sys import re from odf.opendocument import load from odf import text, teletype infile = l...
test-img

Nathan Mills

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved