Question

How to convert HTML to MS Word compatible format especially the Image ? Basically I need to convert HTML (Generated from TinyMCE) To MS Word Doc with Images etc (non URL images) and I figured out that MS Word doesn't support Data URI HTML standards . MHTML seems to be a a good option ? How can I convert a HTML with Images to MHTML using Python ?

Était-ce utile?

La solution

Tim Golden's tips on using IE own object may solve this case : http://timgolden.me.uk/python/win32_how_do_i/create-an-mhtml-archive.html

But actually, I also looking for a cross platform solution for this.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top