Tell me how in python3 to open and get data from office files, such as odt, doc, docx, rtf. At least odt.
The fact that odt and docx are essentially archives in the course, you can unpack them in theory, and look at the content.xml file (if I'm not mistaken), but you can eat more modern or convenient ways.
All I’ve found is to create ods tables.
I found the modules uno , pyoo, and everywhere I described how to create tables, but I did not find how to get data from office documents.
The task is to run through all the existing files in the directory (subdirectories), find or analyze the necessary one and output the result in a separate file.
Now this is partially implemented on bash'e, I want to rewrite everything in python3.
Tell or show how to search.