Nishant
Nishant

Reputation: 21934

How to convert HTML to MHTML using Python?

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 ?

Upvotes: 1

Views: 3983

Answers (1)

swdev
swdev

Reputation: 5157

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.

Upvotes: 2

Related Questions