Hi, I wanted a script that can convert any file format (RTF/DOC/HTML/PDF/PS etc) to text format.
Regards, Gaurav Agarwal Fredrik Lundh wrote: > Marc 'BlackJack' Rintsch wrote: > > > What do you mean by 'fileformats'? A script that automagically converts > > *anything* to text? What about pictures? > > that's a one-and-a-half-liner: > > import Image, sys; print list(Image.open(sys.argv[1]).getdata()) > > </F> -- http://mail.python.org/mailman/listinfo/python-list