Python plain text converter?

Anthony Baxter anthony at interlink.com.au
Fri Feb 28 04:43:20 EST 2003


>>> Jp Calderone wrote
> On Fri, Feb 28, 2003 at 12:41:27AM -0500, dromedary wrote:
> > Does anyone know if Python can strip the nasty formatting codes from
> > documents in, say, Word or QPS? I'd like to write a small batch
> > processor that will grab a bunch of files and covert them to text only
> > format for manipulation using regular expressions. Unfortunately I
> > can't figure out how to get rid of the nasty codes (e.g., ?). Any
> > assistance appreciated.
> 
>   "Python" can't, but you can probably use win32com to get Word to do it for
> you.  Assuming you're on Windows, anyway.

And if you're not on Windows, check out wvware, www.wvware.com.


-- 
Anthony Baxter     <anthony at interlink.com.au>   
It's never too late to have a happy childhood.






More information about the Python-list mailing list