phizumi
V2EX  ›  2019

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

  •  
  •   phizumi · Apr 10, 2019 · 3174 views
    This topic created in 2592 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
        1
    vicalloy  
       Apr 10, 2019
    https://github.com/unoconv/unoconv 这个应当是最成熟可靠的
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2955 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 06:01 · PVG 14:01 · LAX 23:01 · JFK 02:01
    ♥ Do have faith in what you're doing.