html to .doc converter in Python?

后端 未结 3 625

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

3条回答
  •  北荒
    北荒 (楼主)
    2020-12-03 15:19

    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.

提交回复
热议问题