Git Product home page Git Product logo

ppt-convert's Introduction

感谢

简介

一些 Python 操作 PPT 的案例,可以用于对 PPT 进行批量转换为 PDF、PNG,还可以抓取 PPT 中的文本信息。

目录

├─catch_text.py
# pptx 抓取text
├─catch_format_text.py
# pptx抓取text并按段落格式
├─convert_png.py
# pptx转换png
├─convert_pdf.py
# pptx转换pdf
├─convert_pptx.py
# ppt转换pptx
├─convert_split_pdf.py
# pptx转换并拆分pdf
├─sample.pptx
# pptx文件样例
├─sample.ppt
# ppt文件样例
功能 运行系统
pptx 抓取 text 任何系统
pptx 转换 png、pdf
ppt 转换 pptx
pptx 转换并拆分 pdf
Windows(需安装 office)

启动

  • 下载
$ git clone https://github.com/yuhal/ppt-convert.git
  • 安装 python-pptx
$ pip install python-pptx
  • 执行
$ python catch_format_text.py
{0: ['乘坐时光机 |', '回到那些年 |', '我之所以到现在还怎么没用,是因为我不想离开哆啦A梦'], 1: ['你看,不倒翁站起来了,大雄也可以自己站起来啊!'], 2: ['你受伤的时候,我永远都在。']}

License

MIT

ppt-convert's People

Contributors

yuhal avatar

Stargazers

 avatar vicky avatar

Watchers

James Cloos avatar  avatar

Forkers

zhaoxixi0202

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.