推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
967182
V2EX  ›  Python

word 转 pdf

  •  
  •   967182 · Jan 19, 2021 · 4142 views
    This topic created in 2120 days ago, the information mentioned may be changed or developed.
    python 里有没有什么库 word 转 pdf,能达到 documents4j 一样的效果?
    7 replies  •  2021-02-18 18:06:27 +08:00
    iewad
    iewad
    Jan 19, 2021
    1
    unoconv
    omph
    omph
    Jan 19, 2021
    2
    [使用 pypandoc 转换各类文档]( http://yuanjun.farbox.com/python/333)
    RedBeanIce
    RedBeanIce
    Jan 19, 2021
    3
    libreoffice
    booscopy
    booscopy
    Jan 19, 2021
    4
    pipx install docx2pdf
    ------------------------------------------
    from docx2pdf import convert

    convert("input.docx")
    convert("input.docx", "output.pdf")
    convert("my_docx_folder/")
    ------------------------------------------
    pypi.org/project/docx2pdf
    hellhyzcy66
    hellhyzcy66
    Jan 21, 2021 via iPhone
    5
    装了 office 自带 pdf 打印机,或者自己装 pdf 打印机
    mn4940128
    mn4940128
    Jan 28, 2021
    6
    同推荐 libreoffice 可以 headless,部署到云服务贼舒服
    ChangHaoWei
    ChangHaoWei
    Feb 18, 2021
    7
    pdf 转 word 有没有这样的需求,想做个 APP
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   947 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 40ms · UTC 19:57 · PVG 03:57 · LAX 11:57 · JFK 14:57
    ♥ Do have faith in what you're doing.