A lot of people have asked questions about reading RTF files with Python and converting those RTF files into TXT documents or just python strings. Most notably here:
example 1
example 2
example 3
But what if you want to read the RTF file, make changes to it, then save it as an RTF file? As far as I can see PyRTF is only useful for building RTF files from scratch. Over at this website PyRTF examples I see lots of examples and tests for making RTF files from scratch with PyRTF but I see nothing for opening an RTF file, working with it, then saving it. I see no official documentation for PyRTF and consequently it could very well be the case that I am missing something.
PyRTF
1.4m articles
1.4m replys
5 comments
57.0k users