V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
latyas
V2EX  ›  Python

有木有通过 google docs 一键 word 转 pdf 下载到本地的项目(脚本)

  •  
  •   latyas ·
    ly0 · 2016-02-11 00:40:08 +08:00 · 3905 次点击
    这是一个创建于 2996 天前的主题,其中的信息可能已经有所发展或是发生改变。

    或者是其他办法可以将 WORD & Excel 转化成 pdf 的。
    google api 似乎需要暴露 app secret ,有木有自己登陆操作自己的 google drive 和 google docs 的办法或者接口啥的。

    3 条回复    2016-02-11 19:32:47 +08:00
    Arthur2e5
        1
    Arthur2e5  
       2016-02-11 04:04:58 +08:00
    用 Google Docs 转换是嫌格式太乱 /字体太多想去掉一点吗……

    可以看看 https://stackoverflow.com/questions/3815983 ,不过这年头也不流行 OpenOffice 改 LibreOffice 了(虽然某些格式兼容还是一团糟,但至少你能控制自己有哪些字体……中文字体总归得补一堆是吧)。看 https://stackoverflow.com/questions/32901398 的话好像用不了 Office365 API 。

    如果能搞清使用条款的话你也可以自己折腾 Word Automation 。
    Arthur2e5
        2
    Arthur2e5  
       2016-02-11 04:07:40 +08:00
    带上 Word Automation Services 的话好像有个 https://code.msdn.microsoft.com/office/SharePoint-2013-Convert-1e0578a1 ……
    fy
        3
    fy  
       2016-02-11 19:32:47 +08:00
    说起来 pandoc 效果怎么样?
    我记得支持 docx 细节就忘了……
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3232 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 13:52 · PVG 21:52 · LAX 06:52 · JFK 09:52
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.