I am using pisa, which is an HTML to PDF conversion library for Python.
Does there exist the same thing for a Word document: an HTML to .doc conversion library for P
In case anybody else lands here attempting to convert the other way around, the above code works, but you need to modify the FileFormat value.
http://msdn.microsoft.com/en-us/library/ff839952.aspx
Example: Filtered html is 10, instead of 0.