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
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
120
Practical browser npm
mikemaccana
1
210
Happiness Through Simplicity
mikemaccana
0
130
Browse like Xerces the God King of the Persians
mikemaccana
0
160
Welcome our new ES5 Overlords
mikemaccana
0
120
Fix Your Life Using Chrome Extensions
mikemaccana
1
180
Overcoming Web App Limitation with Chrome Extensions
mikemaccana
1
150
Other Decks in Technology
See All in Technology
「駆動」って言葉、なんかカッコイイ_Mitz
comucal
PRO
0
140
業務の煩悩を祓うAI活用術108選 / AI 108 Usages
smartbank
9
19k
BidiAgent と Nova 2 Sonic から考える音声 AI について
yama3133
2
150
Oracle Cloud Infrastructure:2025年12月度サービス・アップデート
oracle4engineer
PRO
0
200
Everything As Code
yosuke_ai
0
500
202512_AIoT.pdf
iotcomjpadmin
0
180
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
4
21k
複雑さを受け入れるか、拒むか? - 事業成長とともに育ったモノリスを前に私が考えたこと #RSGT2026
murabayashi
1
1.4k
「違う現場で格闘する二人」——社内コミュニティがつないだトヨタ流アジャイルの実践とその先
shinichitakeuchi
0
150
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
Claude Codeを使った情報整理術
knishioka
20
12k
『君の名は』と聞く君の名は。 / Your name, you who asks for mine.
nttcom
1
150
Featured
See All Featured
Chasing Engaging Ingredients in Design
codingconduct
0
94
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
0
170
Done Done
chrislema
186
16k
Site-Speed That Sticks
csswizardry
13
1k
A better future with KSS
kneath
240
18k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
30 Presentation Tips
portentint
PRO
1
180
Accessibility Awareness
sabderemane
0
32
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
AI: The stuff that nobody shows you
jnunemaker
PRO
1
160
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