phizumi
V2EX  ›  2019

[求教] Python 有没有将 html 转成 docx 的比较好的方案(主要是对表格的支持)。

  •  
  •   phizumi · Apr 10, 2019 · 3606 views
    This topic created in 2775 days ago, the information mentioned may be changed or developed.

    目前知道的三种方式,pandoc, html2docx, pydocx。 前两个保留不了表格的格式。pydocx 的案例基本都是 docx 转 html 的;

    1 replies  •  2019-04-10 16:28:02 +08:00
    vicalloy
    vicalloy
    Apr 10, 2019
    1
    https://github.com/unoconv/unoconv 这个应当是最成熟可靠的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1903 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 04:38 · PVG 12:38 · LAX 20:38 · JFK 23:38
    ♥ Do have faith in what you're doing.