python2day | Blogs

Telegram-канал python2day - [PYTHON:TODAY]

27146

Привет! — Делюсь опытом, пишу на Python и других языках — Создаю ботов и сайты — Парсинг, машинное обучение, big data, щупаю pentesting YouTube: https://www.youtube.com/c/pythontoday Чат: @python2day_chat Сотрудничество: @web_runner

Subscribe to a channel

[PYTHON:TODAY]

🔥 Полезные библиотеки Python

pdf2docx
— Python модуль который позволяет конвертировать PDF документы в docx для дальнейшего редактирования.

Установка:

$ pip install pdf2docx

Пример работы:
from pdf2docx import Converter

pdf_file = '/path/to/sample.pdf'
docx_file = 'path/to/sample.docx'

# convert pdf to docx
cv = Converter(pdf_file)

# all pages by default
cv.convert(docx_file)
cv.close()

⚙️ GitHub/Инструкция

#soft #code #python #github

Читать полностью…
Subscribe to a channel