Git Product home page Git Product logo

pdf2word's Introduction

pdf2word

60行40行代码实现多进程PDF转Word

新版本基于https://github.com/dothinking/pdf2docx实现

使用方法

  • clone或下载项目到本地
git clone git@github.com:simpleapples/pdf2word.git
  • 进入项目目录,建立虚拟环境,并安装依赖
cd pdf2word
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  • 修改config.cfg文件,指定存放pdf和word文件的文件夹,以及同时工作的进程数
  • 执行python main.py

ModuleNotFoundError: No module named '_tkinter' 报错处理

macOS环境

  1. 安装homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
  1. 使用homebrew安装tkinter
brew install python-tk

Linux环境

以ubuntu为例

sudo apt install python3-tk

欢迎Star

Python私房菜

License

采用 MIT 开源许可证

pdf2word's People

Contributors

ofchenyuan avatar simpleapples avatar

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.