Skip to main content

maishu's office package

Project description

Maishu Office package

基于python-docx和openpyxl一个简易的操作office套件的库

示例:

  1. 读取word文档
from maioffice import word
doc = word.load('sample.docx')
  1. 替换word文档中的文字
doc = word.load('sample.docx')
word.replace(doc, '旧的文字', '新的文字')
  1. 读取excel文档
from maioffice import excel
workbook = excel.load('sample.xlsx')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

maioffice-0.0.6.tar.gz (2.0 kB view hashes)

Uploaded Source

Built Distribution

maioffice-0.0.6-py3-none-any.whl (3.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page