Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Pure Python Microsoft Office Word support
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Mike MacCana
April 19, 2012
Technology
1
210
Pure Python Microsoft Office Word support
Lighting talk from PyCon 2010 on Python DocX.
Mike MacCana
April 19, 2012
Tweet
Share
More Decks by Mike MacCana
See All by Mike MacCana
Reveal, Feb 1 2024
mikemaccana
0
100
Practical WebCrypto
mikemaccana
0
130
Deploying your JS app in 2018
mikemaccana
2
130
Practical browser npm
mikemaccana
1
210
Happiness Through Simplicity
mikemaccana
0
130
Browse like Xerces the God King of the Persians
mikemaccana
0
170
Welcome our new ES5 Overlords
mikemaccana
0
120
Fix Your Life Using Chrome Extensions
mikemaccana
1
190
Overcoming Web App Limitation with Chrome Extensions
mikemaccana
1
150
Other Decks in Technology
See All in Technology
会社紹介資料 / Sansan Company Profile
sansan33
PRO
16
410k
SLI/SLO 導入で 避けるべきこと3選
yagikota
0
140
ガバメントクラウドにおけるAWSの長期継続割引について
takeda_h
2
5.4k
今のWordPress の制作手法ってなにがあんねん?(改) / What’s the Deal with WordPress Development These Days?
tbshiki
0
520
モジュラモノリス導入から4年間の総括:アーキテクチャと組織の相互作用について / Architecture and Organizational Interaction
nazonohito51
3
1.2k
めちゃくちゃ開発するQAエンジニアになって感じたメリットとこれからの課題感
ryuhei0000yamamoto
0
220
頼れる Agentic AI を支える Datadog のオブザーバビリティ / Powering Reliable Agentic AI with Datadog Observability
aoto
PRO
0
240
【Λ(らむだ)】最近のアプデ情報 / RPALT20260318
lambda
0
130
[2] Power BI Deep Dive [2026-03]
ohata_bi
0
110
GitHub Copilot CLI で Azure Portal to Bicep
tsubakimoto_s
0
100
生成AIで速度と品質を両立する、QAエンジニア・開発者連携のAI協調型テストプロセス
shota_kusaba
0
320
TypeScript 7.0の現在地と備え方
uhyo
7
2k
Featured
See All Featured
The SEO Collaboration Effect
kristinabergwall1
0
400
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
300
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
130
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
690
Building a Scalable Design System with Sketch
lauravandoore
463
34k
Raft: Consensus for Rubyists
vanstee
141
7.4k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
360
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.4k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
140
The B2B funnel & how to create a winning content strategy
katarinadahlin
PRO
1
310
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
2.5k
Transcript
Python Docx A bullshit-free way to create, edit, and read
MS Word documents @mikemaccana github.com/mikemaccana/python-docx Friday, 19 February 2010
Previous Approaches Approach Using Shitty Old Technology Calling Java Apache
POI Java Automating OpenOffice PyUNO OpenOffice Automating MS Office COM COM MS OpenXML SDK IronPython Windows Friday, 19 February 2010
Making Documents Paragraphs Bullets/Numbering Headings Tables Images Section and Page
Breaks Stuff for screen readers Document Properties Friday, 19 February 2010
Reading Documents Extract plain text of document Originally I intended
this for Python programmers Has since found popularity with ANGRY UNIX GUYS. And document properties too. Friday, 19 February 2010
Manipulating Existing Docs Add and delete items anywhere within the
document Search + replace Friday, 19 February 2010
Serving Suggestions Python LinkedIn API - auto-build a Word doc
whenever some old recruiting dude asks for one. Lamson - transparently fuck with people’s email attachments. NLTK - pass content to NLTK for logical inference, identifying people / org relationships, etc. Friday, 19 February 2010
Future I’m going to fucking have to do styles at
some point. Fuckity fuck fuck fuck. Friday, 19 February 2010
Join us! <1000 lines - lxml does all the heavy
lifting nose (currently 100% coverage) Example code for everything MIT licensed Friday, 19 February 2010
github.com/mikemaccana/python-docx @mikemaccana Thankyou Friday, 19 February 2010