Converting .doc to .txt in Linux
cs at zip.com.au
Fri Sep 5 05:53:44 CEST 2008
On 04Sep2008 12:54, patrick.waldo at gmail.com <patrick.waldo at gmail.com> wrote:
| I had previously asked a similar question,
| but at that point I was using Windows and now I am using Linux.
| Basically, I have some .doc files that I need to convert into txt
| files encoded in utf-8. However, win32com.client doesn't work in
I use the "antiword" or "catdoc" commands to convert .doc to text.
Call them from popen or subprocess from Python, if you must use Python
(I'd just write a shell script for such a task myself unless its embedded
in a larger python context).
Cameron Simpson <cs at zip.com.au> DoD#743
Please do not send me Microsoft Word files.
More information about the Python-list